diff options
Diffstat (limited to 'contrib/dbsize/dbsize.sql.in')
| -rw-r--r-- | contrib/dbsize/dbsize.sql.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/dbsize/dbsize.sql.in b/contrib/dbsize/dbsize.sql.in new file mode 100644 index 0000000000..d4d4d32525 --- /dev/null +++ b/contrib/dbsize/dbsize.sql.in @@ -0,0 +1,7 @@ +CREATE FUNCTION database_size (name) RETURNS bigint + AS '@MODULE_FILENAME@', 'database_size' + LANGUAGE C WITH (isstrict); + +CREATE FUNCTION relation_size (name) RETURNS bigint + AS '@MODULE_FILENAME@', 'relation_size' + LANGUAGE C WITH (isstrict); |
