From eb1ad5b4b57e95c8755acccc0796b44072aba209 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 15 Jun 2002 20:03:51 +0000 Subject: Patch for current_schemas to optionally include implicit ... Second cut attached. This one just adds a boolean option to the existing function to indicate that implicit schemas are to be included (or not). I remembered the docs as well this time :-) Dave Page --- doc/src/sgml/func.sgml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 976147f5c2a..4c30789eff4 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,5 +1,5 @@ @@ -4323,9 +4323,9 @@ SELECT NULLIF(value, '(none)') ... name of current schema - current_schemas() + current_schemas(boolean) name[] - names of schemas in search path + names of schemas in search path optionally including implicit schemas @@ -4378,10 +4378,10 @@ SELECT NULLIF(value, '(none)') ... at the front of the search path (or NULL if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema. - current_schemas returns an array of the names of all - schemas presently in the search path. Note that these functions show - only schemas that are explicitly part of the path; when a system schema - is being searched implicitly, it is not listed. + current_schemas(boolean) returns an array of the names of all + schemas presently in the search path. The boolean option determines whether or not + implicitly included system schemas such as pg_catalog are included in the search + path returned. -- cgit v1.2.3