index d9bab1a579afbd946eceab6053fe40905cde342a..7054380386761fafe2bb5ceaba5cf216eaba852c 100644 (file)
-/* $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.sql.in,v 1.11 2008年10月02日 12:20:50 heikki Exp $ */
+/* $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.sql.in,v 1.12 2009年06月10日 22:12:28 tgl Exp $ */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
@@ -8,7 +8,7 @@ SET search_path = public;
CREATE OR REPLACE FUNCTION pg_freespace(regclass, bigint)
RETURNS int2
AS 'MODULE_PATHNAME', 'pg_freespace'
-LANGUAGE C;
+LANGUAGE C STRICT;
-- pg_freespace shows the recorded space avail at each block in a relation
CREATE OR REPLACE FUNCTION
index a8bf64387d9ce1dc30d4c0b109a6c9bfbc47e91b..e9bf0ad7d1a201738e52d3ed16970450ceca132f 100644 (file)
-/* $PostgreSQL: pgsql/contrib/pg_freespacemap/uninstall_pg_freespacemap.sql,v 1.4 2008年09月30日 11:17:07 heikki Exp $ */
+/* $PostgreSQL: pgsql/contrib/pg_freespacemap/uninstall_pg_freespacemap.sql,v 1.5 2009年06月10日 22:12:28 tgl Exp $ */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
-DROP VIEW pg_freespacemap_pages;
-DROP VIEW pg_freespacemap_relations;
-
-DROP FUNCTION pg_freespacemap_pages();
-DROP FUNCTION pg_freespacemap_relations();
+DROP FUNCTION pg_freespace(regclass, bigint);
+DROP FUNCTION pg_freespace(regclass);