mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
d9b68c8061
style and message style standards, improve documentation.
24 lines
724 B
MySQL
24 lines
724 B
MySQL
CREATE FUNCTION database_size (name) RETURNS bigint
|
|
AS 'MODULE_PATHNAME', 'database_size'
|
|
LANGUAGE C STRICT;
|
|
|
|
CREATE FUNCTION relation_size (text) RETURNS bigint
|
|
AS 'MODULE_PATHNAME', 'relation_size'
|
|
LANGUAGE C STRICT;
|
|
|
|
CREATE FUNCTION pg_tablespace_size(oid) RETURNS bigint
|
|
AS 'MODULE_PATHNAME', 'pg_tablespace_size'
|
|
LANGUAGE C STRICT;
|
|
|
|
CREATE FUNCTION pg_database_size(oid) RETURNS bigint
|
|
AS 'MODULE_PATHNAME', 'pg_database_size'
|
|
LANGUAGE C STRICT;
|
|
|
|
CREATE FUNCTION pg_relation_size(oid) RETURNS bigint
|
|
AS 'MODULE_PATHNAME', 'pg_relation_size'
|
|
LANGUAGE C STRICT;
|
|
|
|
CREATE FUNCTION pg_size_pretty(bigint) RETURNS text
|
|
AS 'MODULE_PATHNAME', 'pg_size_pretty'
|
|
LANGUAGE C STRICT;
|