diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index f85d15a862..411aff0aad 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