summaryrefslogtreecommitdiff
path: root/contrib/pageinspect/pageinspect.sql.in
diff options
context:
space:
mode:
authorHeikki Linnakangas2008-10-06 14:13:17 +0000
committerHeikki Linnakangas2008-10-06 14:13:17 +0000
commit5f853c655663bf829c02895de2b445a5f3caa24b (patch)
tree3dc2757ce91d5409d1def38bbbf666fbfd8aae6d /contrib/pageinspect/pageinspect.sql.in
parente59ad5fbb6d71b43a6c4e50875fda56e88527532 (diff)
Use fork names instead of numbers in the file names for additional
relation forks. While the file names are not visible to users, for those that do peek into the data directory, it's nice to have more descriptive names. Per Greg Stark's suggestion.
Diffstat (limited to 'contrib/pageinspect/pageinspect.sql.in')
-rw-r--r--contrib/pageinspect/pageinspect.sql.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/pageinspect/pageinspect.sql.in b/contrib/pageinspect/pageinspect.sql.in
index 49fea9eb51f..6ed49fa5440 100644
--- a/contrib/pageinspect/pageinspect.sql.in
+++ b/contrib/pageinspect/pageinspect.sql.in
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/contrib/pageinspect/pageinspect.sql.in,v 1.5 2008/09/30 10:52:09 heikki Exp $ */
+/* $PostgreSQL: pgsql/contrib/pageinspect/pageinspect.sql.in,v 1.6 2008/10/06 14:13:17 heikki Exp $ */
-- Adjust this setting to control where the objects get created.
SET search_path = public;
@@ -6,14 +6,14 @@ SET search_path = public;
--
-- get_raw_page()
--
-CREATE OR REPLACE FUNCTION get_raw_page(text, int4, int4)
+CREATE OR REPLACE FUNCTION get_raw_page(text, text, int4)
RETURNS bytea
AS 'MODULE_PATHNAME', 'get_raw_page'
LANGUAGE C STRICT;
CREATE OR REPLACE FUNCTION get_raw_page(text, int4)
RETURNS bytea
-AS $$ SELECT get_raw_page($1, 0, $2); $$
+AS $$ SELECT get_raw_page($1, 'main', $2); $$
LANGUAGE SQL STRICT;
--