1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Properly mark pg_freespace() function as strict. Also update

uninstall script to match reality.
This commit is contained in:
Tom Lane
2009-06-10 22:12:28 +00:00
parent 5e29862aa2
commit 15a3fe6d63
2 changed files with 5 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $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