postgresql/contrib/dbsize/dbsize.sql.in

8 lines
253 B
MySQL
Raw Normal View History

CREATE FUNCTION database_size (name) RETURNS bigint
AS 'MODULE_PATHNAME', 'database_size'
LANGUAGE C WITH (isstrict);
CREATE FUNCTION relation_size (text) RETURNS bigint
AS 'MODULE_PATHNAME', 'relation_size'
LANGUAGE C WITH (isstrict);