From 5f6285616d67e545d6a0df2a55d98046fca17982 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 18 Mar 2010 15:29:44 +0000 Subject: [PATCH] Fix missing parentheses for current_query(), per bug #5378. Also make a couple other minor editorial improvements. --- doc/src/sgml/func.sgml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index f85d15a862d..411aff0aad3 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -11512,7 +11512,7 @@ postgres=# select * from unnest2(array[[1,2],[3,4]]); current_schemas(boolean) name[] - names of schemas in search path optionally including implicit schemas + names of schemas in search path, optionally including implicit schemas @@ -11522,11 +11522,11 @@ postgres=# select * from unnest2(array[[1,2],[3,4]]); - current_query + current_query() text text of the currently executing query, as submitted by the client (might contain more than one statement) - + @@ -11612,6 +11612,17 @@ postgres=# select * from unnest2(array[[1,2],[3,4]]); + + + current_catalog, current_schema, + current_user, session_user, + and user have special syntactic status + in SQL: they must be called without trailing + parentheses. (In PostgreSQL, parentheses can optionally be used with + current_schema, but not with the others.) + + + user current @@ -11657,17 +11668,6 @@ postgres=# select * from unnest2(array[[1,2],[3,4]]); the current user is the effective user. - - - current_catalog, current_schema, - current_user, session_user, - and user have special syntactic status - in SQL: they must be called without trailing - parentheses (optional in PostgreSQL in the case - of current_schema). - - - current_schema returns the name of the schema that is first in the search path (or a null value if the search path is -- 2.39.5