Fix missing parentheses for current_query(), per bug #5378.
authorTom Lane
Thu, 18 Mar 2010 15:29:44 +0000 (15:29 +0000)
committerTom Lane
Thu, 18 Mar 2010 15:29:44 +0000 (15:29 +0000)
Also make a couple other minor editorial improvements.

doc/src/sgml/func.sgml

index f85d15a862dafdfeef7c75d0ab15185af4a4af8c..411aff0aad3852ac1623c58bebe08088385c3eb7 100644 (file)
@@ -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_catalogcurrent_schema,
+     current_usersession_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_catalogcurrent_schema,
-     current_usersession_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