From 555b5a25dc52debe626bcaf0415029b46d204552 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 18 Mar 2010 15:29:51 +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 9a8df8cf4f..59547a6a50 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -11397,7 +11397,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 @@ -11407,11 +11407,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) - + @@ -11491,6 +11491,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 @@ -11536,17 +11547,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