Make the placeholder naming in the synopses of the SQL help more consistent
authorPeter Eisentraut
Sat, 19 Sep 2009 10:23:27 +0000 (10:23 +0000)
committerPeter Eisentraut
Sat, 19 Sep 2009 10:23:27 +0000 (10:23 +0000)
51 files changed:
doc/src/sgml/ref/alter_conversion.sgml
doc/src/sgml/ref/alter_database.sgml
doc/src/sgml/ref/alter_group.sgml
doc/src/sgml/ref/alter_language.sgml
doc/src/sgml/ref/alter_opclass.sgml
doc/src/sgml/ref/alter_operator.sgml
doc/src/sgml/ref/alter_opfamily.sgml
doc/src/sgml/ref/alter_role.sgml
doc/src/sgml/ref/alter_schema.sgml
doc/src/sgml/ref/alter_server.sgml
doc/src/sgml/ref/alter_tablespace.sgml
doc/src/sgml/ref/alter_trigger.sgml
doc/src/sgml/ref/alter_tsconfig.sgml
doc/src/sgml/ref/alter_tsdictionary.sgml
doc/src/sgml/ref/alter_tsparser.sgml
doc/src/sgml/ref/alter_tstemplate.sgml
doc/src/sgml/ref/alter_user.sgml
doc/src/sgml/ref/alter_user_mapping.sgml
doc/src/sgml/ref/cluster.sgml
doc/src/sgml/ref/comment.sgml
doc/src/sgml/ref/copy.sgml
doc/src/sgml/ref/create_cast.sgml
doc/src/sgml/ref/create_constraint.sgml
doc/src/sgml/ref/create_conversion.sgml
doc/src/sgml/ref/create_database.sgml
doc/src/sgml/ref/create_function.sgml
doc/src/sgml/ref/create_group.sgml
doc/src/sgml/ref/create_opclass.sgml
doc/src/sgml/ref/create_operator.sgml
doc/src/sgml/ref/create_role.sgml
doc/src/sgml/ref/create_schema.sgml
doc/src/sgml/ref/create_server.sgml
doc/src/sgml/ref/create_tablespace.sgml
doc/src/sgml/ref/create_trigger.sgml
doc/src/sgml/ref/create_user.sgml
doc/src/sgml/ref/create_user_mapping.sgml
doc/src/sgml/ref/delete.sgml
doc/src/sgml/ref/drop_cast.sgml
doc/src/sgml/ref/drop_operator.sgml
doc/src/sgml/ref/drop_rule.sgml
doc/src/sgml/ref/drop_server.sgml
doc/src/sgml/ref/drop_tablespace.sgml
doc/src/sgml/ref/drop_user_mapping.sgml
doc/src/sgml/ref/fetch.sgml
doc/src/sgml/ref/grant.sgml
doc/src/sgml/ref/move.sgml
doc/src/sgml/ref/prepare.sgml
doc/src/sgml/ref/revoke.sgml
doc/src/sgml/ref/set_role.sgml
doc/src/sgml/ref/set_session_auth.sgml
doc/src/sgml/ref/update.sgml

index 8c46b5992d9ec4b825c986d68aff6391d39c2adf..4be65d30a7a52f8fb75a1c235f67f0ad1b4fc95f 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,8 +21,8 @@ PostgreSQL documentation
 
  
 
-ALTER CONVERSION name RENAME TO newname
-ALTER CONVERSION name OWNER TO newowner
+ALTER CONVERSION name RENAME TO new_name
+ALTER CONVERSION name OWNER TO new_owner
 
  
   
@@ -59,7 +59,7 @@ ALTER CONVERSION name OWNER TO newowner<
    
 
    
-    newname
+    new_name
     
      
       The new name of the conversion.
@@ -68,7 +68,7 @@ ALTER CONVERSION name OWNER TO newowner<
    
 
    
-    newowner
+    new_owner
     
      
       The new owner of the conversion.
index 9a28adc84684de541eb1cb6e3666162cb00700ac..a30e39718adb783540861d947252a2d142ca8bfd 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -27,7 +27,7 @@ ALTER DATABASE name [ [ WITH ] 
 
     CONNECTION LIMIT connlimit
 
-ALTER DATABASE name RENAME TO newname
+ALTER DATABASE name RENAME TO new_name
 
 ALTER DATABASE name OWNER TO new_owner
 
@@ -117,7 +117,7 @@ ALTER DATABASE name RESET ALL
       
 
    
-    newname
+    new_name
     
      
       The new name of the database.
index 798d0121476e79fd5a9bb9ab1088fe092dc6272d..2d4d3e90159a7b4ee363ffcf40ecdb1ef3afe903 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,10 +21,10 @@ PostgreSQL documentation
 
  
 
-ALTER GROUP groupname ADD USER username [, ... ]
-ALTER GROUP groupname DROP USER username [, ... ]
+ALTER GROUP group_name ADD USER user_name [, ... ]
+ALTER GROUP group_name DROP USER user_name [, ... ]
 
-ALTER GROUP groupname RENAME TO newname
+ALTER GROUP group_name RENAME TO new_name
 
  
 
@@ -60,7 +60,7 @@ ALTER GROUP groupname RENAME TO 
 
   
    
-    groupname
+    group_name
     
      
       The name of the group (role) to modify.
@@ -69,7 +69,7 @@ ALTER GROUP groupname RENAME TO 
    
 
    
-    username
+    user_name
     
      
       Users (roles) that are to be added to or removed from the group.
@@ -80,7 +80,7 @@ ALTER GROUP groupname RENAME TO 
    
 
    
-    newname
+    new_name
     
      
       The new name of the group.
index 04e0b470237f25bcf1507095f4b90214e6304b27..94c9222c1f0b830a28da531585dd3f087db5954b 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-ALTER [ PROCEDURAL ] LANGUAGE name RENAME TO newname
+ALTER [ PROCEDURAL ] LANGUAGE name RENAME TO new_name
 ALTER [ PROCEDURAL ] LANGUAGE name OWNER TO new_owner
 
  
@@ -51,7 +51,7 @@ ALTER [ PROCEDURAL ] LANGUAGE name OWNER TO 
    
 
    
-    newname
+    new_name
     
      
       The new name of the language
index c15cd57195c272d187f8360db74a401467d2d8f0..fbdc051b80e520fc44c857f6dba76774aa5d5a4a 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,8 +21,8 @@ PostgreSQL documentation
 
  
 
-ALTER OPERATOR CLASS name USING index_method RENAME TO newname
-ALTER OPERATOR CLASS name USING index_method OWNER TO newowner
+ALTER OPERATOR CLASS name USING index_method RENAME TO new_name
+ALTER OPERATOR CLASS name USING index_method OWNER TO new_owner
 
  
   
@@ -69,7 +69,7 @@ ALTER OPERATOR CLASS name USING 
    
 
    
-    newname
+    new_name
     
      
       The new name of the operator class.
@@ -78,7 +78,7 @@ ALTER OPERATOR CLASS name USING 
    
 
    
-    newowner
+    new_owner
     
      
       The new owner of the operator class.
index 4a11661a09a737bfd293fe7c06bc45e52fc9dc39..9e6e8aff4792f08f047d548f082a02e759f2ea23 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-ALTER OPERATOR name ( { lefttype | NONE } , { righttype | NONE } ) OWNER TO newowner
+ALTER OPERATOR name ( { left_type | NONE } , { right_type | NONE } ) OWNER TO new_owner
 
  
   
@@ -58,7 +58,7 @@ ALTER OPERATOR name ( { lefttype
    
 
    
-    lefttype
+    left_type
     
      
       The data type of the operator's left operand; write
@@ -68,7 +68,7 @@ ALTER OPERATOR name ( { lefttype
    
 
    
-    righttype
+    right_type
     
      
       The data type of the operator's right operand; write
@@ -78,7 +78,7 @@ ALTER OPERATOR name ( { lefttype
    
 
    
-    newowner
+    new_owner
     
      
       The new owner of the operator.
index 582f367bfd175e4e25e6c7a5882e79fab301977a..6e28b8540a81c4ef9e3cf204a9275e43c8f2f21e 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -23,14 +23,14 @@ PostgreSQL documentation
 
 ALTER OPERATOR FAMILY name USING index_method ADD
   {  OPERATOR strategy_number operator_name ( op_type, op_type )
-   | FUNCTION support_number [ ( op_type [ , op_type ] ) ] funcname ( argument_type [, ...] )
+   | FUNCTION support_number [ ( op_type [ , op_type ] ) ] function_name ( argument_type [, ...] )
   } [, ... ]
 ALTER OPERATOR FAMILY name USING index_method DROP
   {  OPERATOR strategy_number ( op_type [ , op_type ] )
    | FUNCTION support_number ( op_type [ , op_type ] )
   } [, ... ]
-ALTER OPERATOR FAMILY name USING index_method RENAME TO newname
-ALTER OPERATOR FAMILY name USING index_method OWNER TO newowner
+ALTER OPERATOR FAMILY name USING index_method RENAME TO new_name
+ALTER OPERATOR FAMILY name USING index_method OWNER TO new_owner
 
  
   
@@ -166,7 +166,7 @@ ALTER OPERATOR FAMILY name USING 
    
 
    
-    funcname
+    function_name
     
      
       The name (optionally schema-qualified) of a function that is an
@@ -176,7 +176,7 @@ ALTER OPERATOR FAMILY name USING 
    
 
    
-    argument_types
+    argument_type
     
      
       The parameter data type(s) of the function.
@@ -185,7 +185,7 @@ ALTER OPERATOR FAMILY name USING 
    
 
    
-    newname
+    new_name
     
      
       The new name of the operator family.
@@ -194,7 +194,7 @@ ALTER OPERATOR FAMILY name USING 
    
 
    
-    newowner
+    new_owner
     
      
       The new owner of the operator family.
index 5b8a832a4870ba008a66171f487a1b54eb0c70bd..9be5812463d0a232be26e18e83b926e403792ec7 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -35,7 +35,7 @@ ALTER ROLE name [ [ WITH ] 
     | [ ENCRYPTED | UNENCRYPTED ] PASSWORD 'password'
     | VALID UNTIL 'timestamp' 
 
-ALTER ROLE name RENAME TO newname
+ALTER ROLE name RENAME TO new_name
 
 ALTER ROLE name SET configuration_parameter { TO | = } { value | DEFAULT }
 ALTER ROLE name SET configuration_parameter FROM CURRENT
@@ -137,7 +137,7 @@ ALTER ROLE name RESET ALL
      
 
      
-      newname
+      new_name
       
        
         The new name of the role.
index 3f3ea6e5668985e25da5e2b57b10d38970e5b90c..122b07460973e6cf65b02eb0fe938e7ee3778b0d 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,8 +21,8 @@ PostgreSQL documentation
 
  
 
-ALTER SCHEMA name RENAME TO newname
-ALTER SCHEMA name OWNER TO newowner
+ALTER SCHEMA name RENAME TO new_name
+ALTER SCHEMA name OWNER TO new_owner
 
  
 
@@ -58,7 +58,7 @@ ALTER SCHEMA name OWNER TO newowner
    
 
    
-    newname
+    new_name
     
      
       The new name of the schema.  The new name cannot
@@ -69,7 +69,7 @@ ALTER SCHEMA name OWNER TO newowner
    
 
    
-    newowner
+    new_owner
     
      
       The new owner of the schema.
index 7798d6dff4149a4b86d9c0cfe408cd8ca01f8e02..1bce7fb4de857c5b9695e7f0b38aaa377592dfea 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,9 +21,9 @@ PostgreSQL documentation
 
  
 
-ALTER SERVER servername [ VERSION 'newversion' ]
+ALTER SERVER server_name [ VERSION 'new_version' ]
     [ OPTIONS ( [ ADD | SET | DROP ] option ['value'] [, ... ] ) ]
-ALTER SERVER servername OWNER TO new_owner
+ALTER SERVER server_name OWNER TO new_owner
 
  
 
@@ -52,7 +52,7 @@ ALTER SERVER servername OWNER TO 
 
   
    
-    servername
+    server_name
     
      
       The name of an existing server.
@@ -61,7 +61,7 @@ ALTER SERVER servername OWNER TO 
    
 
    
-    serverversion
+    new_version
     
      
       New server version.
index 482db18bb22167d625bdfd2bbd9bfb1aafbb16dc..8c5341dd0845553305bd53bb86f9610f0703b26c 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,8 +21,8 @@ PostgreSQL documentation
 
  
 
-ALTER TABLESPACE name RENAME TO newname
-ALTER TABLESPACE name OWNER TO newowner
+ALTER TABLESPACE name RENAME TO new_name
+ALTER TABLESPACE name OWNER TO new_owner
 
  
   
@@ -56,7 +56,7 @@ ALTER TABLESPACE name OWNER TO newowner<
    
 
    
-    newname
+    new_name
     
      
       The new name of the tablespace.  The new name cannot
@@ -67,7 +67,7 @@ ALTER TABLESPACE name OWNER TO newowner<
    
 
    
-    newowner
+    new_owner
     
      
       The new owner of the tablespace.
index 5328aae0da0c029c8242deee0265b11238cbe941..6406595c549905de841f5a0465e08b0bb567e3c9 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-ALTER TRIGGER name ON table RENAME TO newname
+ALTER TRIGGER name ON table RENAME TO new_name
 
  
 
@@ -63,7 +63,7 @@ ALTER TRIGGER name ON 
    
 
    
-    newname
+    new_name
     
      
       The new name for the trigger.
index 900152f36870ab5f814da25bca357e7069099ee8..cf31eab5aca92c30acbdd6cb42a93c65b70b0323 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -31,8 +31,8 @@ ALTER TEXT SEARCH CONFIGURATION name
     ALTER MAPPING FOR token_type [, ... ] REPLACE old_dictionary WITH new_dictionary
 ALTER TEXT SEARCH CONFIGURATION name
     DROP MAPPING [ IF EXISTS ] FOR token_type [, ... ]
-ALTER TEXT SEARCH CONFIGURATION name RENAME TO newname
-ALTER TEXT SEARCH CONFIGURATION name OWNER TO newowner
+ALTER TEXT SEARCH CONFIGURATION name RENAME TO new_name
+ALTER TEXT SEARCH CONFIGURATION name OWNER TO new_owner
 
  
   
@@ -107,7 +107,7 @@ ALTER TEXT SEARCH CONFIGURATION name OWNER TO 
    
 
    
-    newname
+    new_name
     
      
       The new name of the text search configuration.
@@ -116,7 +116,7 @@ ALTER TEXT SEARCH CONFIGURATION name OWNER TO 
    
 
    
-    newowner
+    new_owner
     
      
       The new owner of the text search configuration.
index bf510d28508986f590cd1192a42662155a4cd1d4..7c55f5f993e9184d7940651e0b15a0405f329e36 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -24,8 +24,8 @@ PostgreSQL documentation
 ALTER TEXT SEARCH DICTIONARY name (
     option [ = value ] [, ... ]
 )
-ALTER TEXT SEARCH DICTIONARY name RENAME TO newname
-ALTER TEXT SEARCH DICTIONARY name OWNER TO newowner
+ALTER TEXT SEARCH DICTIONARY name RENAME TO new_name
+ALTER TEXT SEARCH DICTIONARY name OWNER TO new_owner
 
  
   
@@ -80,7 +80,7 @@ ALTER TEXT SEARCH DICTIONARY name OWNER TO 
    
 
    
-    newname
+    new_name
     
      
       The new name of the text search dictionary.
@@ -89,7 +89,7 @@ ALTER TEXT SEARCH DICTIONARY name OWNER TO 
    
 
    
-    newowner
+    new_owner
     
      
       The new owner of the text search dictionary.
index f1a63cdc6e4d9fd3f1492a1f7e3e2b1118ad969b..a47e893c2e04abbc15c68796e42f854c96328a58 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-ALTER TEXT SEARCH PARSER name RENAME TO newname
+ALTER TEXT SEARCH PARSER name RENAME TO new_name
 
  
   
@@ -53,7 +53,7 @@ ALTER TEXT SEARCH PARSER name RENAME TO 
    
 
    
-    newname
+    new_name
     
      
       The new name of the text search parser.
index b03a8d74a2a8348415938f75809a251736443926..16c76339fd39f57597879639e3b520fb8cc6a4ee 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-ALTER TEXT SEARCH TEMPLATE name RENAME TO newname
+ALTER TEXT SEARCH TEMPLATE name RENAME TO new_name
 
  
   
@@ -53,7 +53,7 @@ ALTER TEXT SEARCH TEMPLATE name RENAME TO 
    
 
    
-    newname
+    new_name
     
      
       The new name of the text search template.
index 386441fe8ccaeb23af0342a55f1a07000ce3df18..3d22e75050bccd4720b60dd432438e897791666b 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -35,7 +35,7 @@ ALTER USER name [ [ WITH ] 
     | [ ENCRYPTED | UNENCRYPTED ] PASSWORD 'password'
     | VALID UNTIL 'timestamp' 
 
-ALTER USER name RENAME TO newname
+ALTER USER name RENAME TO new_name
 
 ALTER USER name SET configuration_parameter { TO | = } { value | DEFAULT }
 ALTER USER name SET configuration_parameter FROM CURRENT
index af20945dd2d02ed0203589242b2bf75667cd98fd..c98ea7709fa68e27ca5c0bd32c0f2b69f1aab297 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,8 +21,8 @@ PostgreSQL documentation
 
  
 
-ALTER USER MAPPING FOR { username | USER | CURRENT_USER | PUBLIC }
-    SERVER servername
+ALTER USER MAPPING FOR { user_name | USER | CURRENT_USER | PUBLIC }
+    SERVER server_name
     OPTIONS ( [ ADD | SET | DROP ] option ['value'] [, ... ] )
 
  
@@ -48,7 +48,7 @@ ALTER USER MAPPING FOR { username |
 
   
    
-    username
+    user_name
     
      
       User name of the mapping. CURRENT_USER
@@ -60,7 +60,7 @@ ALTER USER MAPPING FOR { username |
    
 
    
-    servername
+    server_name
     
      
       Server name of the user mapping.
index ce3087b0df11482c5842caef965ee6948725a98c..9d186aeb3c105ff977ed899969b2b15605096c4b 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-CLUSTER [VERBOSE] tablename [ USING indexname ]
+CLUSTER [VERBOSE] table_name [ USING index_name ]
 CLUSTER [VERBOSE]
 
  
@@ -32,11 +32,11 @@ CLUSTER [VERBOSE]
   
    CLUSTER instructs PostgreSQL 
    to cluster the table specified
-   by tablename
+   by table_name
    based on the index specified by
-   indexname. The index must
+   index_name. The index must
    already have been defined on 
-   tablename.
+   table_name.
   
 
   
@@ -54,7 +54,7 @@ CLUSTER [VERBOSE]
   
    When a table is clustered, PostgreSQL
    remembers which index it was clustered by.  The form
-   CLUSTER tablename
+   CLUSTER table_name
    reclusters the table using the same index as before.
   
 
@@ -79,7 +79,7 @@ CLUSTER [VERBOSE]
 
   
    
-    tablename
+    table_name
     
      
       The name (possibly schema-qualified) of a table.
@@ -88,7 +88,7 @@ CLUSTER [VERBOSE]
    
 
    
-    indexname
+    index_name
     
      
       The name of an index.
@@ -215,7 +215,7 @@ CLUSTER;
   
    The syntax
 
-CLUSTER indexname ON tablename
+CLUSTER index_name ON table_name
 
   is also supported for compatibility with pre-8.3 PostgreSQL
   versions.
index 7bbfd01906930b1989545d537574d8403173f43f..730ad7cf82ce2cd0054a9cabc3177a429dad072f 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -26,15 +26,15 @@ COMMENT ON
   TABLE object_name |
   COLUMN table_name.column_name |
   AGGREGATE agg_name (agg_type [, ...] ) |
-  CAST (sourcetype AS targettype) |
+  CAST (source_type AS target_type) |
   CONSTRAINT constraint_name ON table_name |
   CONVERSION object_name |
   DATABASE object_name |
   DOMAIN object_name |
-  FUNCTION func_name ( [ [ argmode ] [ argname ] argtype [, ...] ] ) |
+  FUNCTION function_name ( [ [ argmode ] [ argname ] argtype [, ...] ] ) |
   INDEX object_name |
   LARGE OBJECT large_object_oid |
-  OPERATOR op (leftoperand_type, rightoperand_type) |
+  OPERATOR operator_name (left_type, right_type) |
   OPERATOR CLASS object_name USING index_method |
   OPERATOR FAMILY object_name USING index_method |
   [ PROCEDURAL ] LANGUAGE object_name |
@@ -50,7 +50,7 @@ COMMENT ON
   TRIGGER trigger_name ON table_name |
   TYPE object_name |
   VIEW object_name
-} IS 'text'
+} IS 'text'
 
  
 
@@ -89,7 +89,7 @@ COMMENT ON
     table_name.column_name
     agg_name
     constraint_name
-    func_name
+    function_name
     op
     rule_name
     trigger_name
@@ -115,7 +115,7 @@ COMMENT ON
    
    
    
-     sourcetype
+     source_type
      
       
        The name of the source data type of the cast.
@@ -124,7 +124,7 @@ COMMENT ON
     
 
     
-     targettype
+     target_type
      
       
        The name of the target data type of the cast.
index b0e05188381dfe8f5e5b51859fc2019d78e22ec7..0e8cb5567bb515540f1ac7492ca7fbf08a6ad8fc 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -22,7 +22,7 @@ PostgreSQL documentation
 
  
 
-COPY tablename [ ( column [, ...] ) ]
+COPY table_name [ ( column [, ...] ) ]
     FROM { 'filename' | STDIN }
     [ [ WITH ]
           [ BINARY ]
@@ -34,7 +34,7 @@ COPY tablename [ ( 
                 [ ESCAPE [ AS ] 'escape' ]
                 [ FORCE NOT NULL column [, ...] ]
 
-COPY { tablename [ ( column [, ...] ) ] | ( query ) }
+COPY { table_name [ ( column [, ...] ) ] | ( query ) }
     TO { 'filename' | STDOUT }
     [ [ WITH ]
           [ BINARY ]
@@ -85,7 +85,7 @@ COPY { tablename [ ( 
 
   
    
-    tablename
+    table_name
     
      
       The name (optionally schema-qualified) of an existing table.
@@ -822,12 +822,12 @@ ZW      ZIMBABWE
    version 7.3 and is still supported:
 
 
-COPY [ BINARY ] tablename [ WITH OIDS ]
+COPY [ BINARY ] table_name [ WITH OIDS ]
     FROM { 'filename' | STDIN }
     [ [USING] DELIMITERS 'delimiter' ]
     [ WITH NULL AS 'null string' ]
 
-COPY [ BINARY ] tablename [ WITH OIDS ]
+COPY [ BINARY ] table_name [ WITH OIDS ]
     TO { 'filename' | STDOUT }
     [ [USING] DELIMITERS 'delimiter' ]
     [ WITH NULL AS 'null string' ]
index d91d7d57bb27fb13be252b8b9df367734108d8a2..16a7cef40f9cff05065d669202537e1c311646fa 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  
 
  
 
-CREATE CAST (sourcetype AS targettype)
-    WITH FUNCTION funcname (argtypes)
+CREATE CAST (source_type AS target_type)
+    WITH FUNCTION function_name (argument_type [, ...])
     [ AS ASSIGNMENT | AS IMPLICIT ]
 
-CREATE CAST (sourcetype AS targettype)
+CREATE CAST (source_type AS target_type)
     WITHOUT FUNCTION
     [ AS ASSIGNMENT | AS IMPLICIT ]
 
-CREATE CAST (sourcetype AS targettype)
+CREATE CAST (source_type AS target_type)
     WITH INOUT
     [ AS ASSIGNMENT | AS IMPLICIT ]
 
@@ -168,7 +168,7 @@ SELECT CAST ( 2 AS numeric ) + 4.0;
 
    
     
-     sourcetype
+     source_type
 
      
       
@@ -178,7 +178,7 @@ SELECT CAST ( 2 AS numeric ) + 4.0;
     
 
     
-     targettype
+     target_type
 
      
       
@@ -188,7 +188,7 @@ SELECT CAST ( 2 AS numeric ) + 4.0;
     
 
     
-     funcname(argtypes)
+     function_name(argument_type [, ...])
 
      
       
index 981d20c018dc54a7b33dd1adb410bcf092b7aad2..dbf4d679f2c2c7af97a5f3a9bc845144f0a91898 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -27,7 +27,7 @@ CREATE CONSTRAINT TRIGGER name
     [ FROM referenced_table_name ]
     { NOT DEFERRABLE | [ DEFERRABLE ] { INITIALLY IMMEDIATE | INITIALLY DEFERRED } }
     FOR EACH ROW
-    EXECUTE PROCEDURE funcname ( arguments )
+    EXECUTE PROCEDURE function_name ( arguments )
 
  
 
@@ -110,7 +110,7 @@ CREATE CONSTRAINT TRIGGER name
    
 
    
-    funcname
+    function_name
     
      
       The function to call when the trigger is fired. See 
index 1cdc83bbd0e99e06e8ed06a376431b7ceefb91cc..9a8cee7de19106100e9f692bab1bd8875f410527 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  
@@ -19,7 +19,7 @@
  
 
 CREATE [ DEFAULT ] CONVERSION name
-    FOR source_encoding TO dest_encoding FROM funcname
+    FOR source_encoding TO dest_encoding FROM function_name
 
  
   
@@ -93,7 +93,7 @@ CREATE [ DEFAULT ] CONVERSION name
     
 
     
-     funcname
+     function_name
 
      
       
index 786a63b70209124a38f3ef656e76f129f73915ae..ff4c74e47328f8a05a0328ca277b2c0a119f368d 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -22,7 +22,7 @@ PostgreSQL documentation
  
 
 CREATE DATABASE name
-    [ [ WITH ] [ OWNER [=] dbowner ]
+    [ [ WITH ] [ OWNER [=] user_name ]
            [ TEMPLATE [=] template ]
            [ ENCODING [=] encoding ]
            [ LC_COLLATE [=] lc_collate ]
@@ -81,7 +81,7 @@ CREATE DATABASE name
       
      
      
-      dbowner
+      use_name
       
        
         The name of the database user who will own the new database,
index 5ebf170bdb6c188ca02637ef614ed5c46d208357..5b5cda3a8172e4a68dab96426f543f8954714f00 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -21,10 +21,10 @@ $PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.85 2009/09/03 22:11
  
 
 CREATE [ OR REPLACE ] FUNCTION
-    name ( [ [ argmode ] [ argname ] argtype [ { DEFAULT | = } defexpr ] [, ...] ] )
+    name ( [ [ argmode ] [ argname ] argtype [ { DEFAULT | = } default_expr ] [, ...] ] )
     [ RETURNS rettype
-      | RETURNS TABLE ( colname coltype [, ...] ) ]
-  { LANGUAGE langname
+      | RETURNS TABLE ( column_name column_type [, ...] ) ]
+  { LANGUAGE lang_name
     | WINDOW
     | IMMUTABLE | STABLE | VOLATILE
     | CALLED ON NULL INPUT | RETURNS NULL ON NULL INPUT | STRICT
@@ -147,8 +147,8 @@ CREATE [ OR REPLACE ] FUNCTION
       
        The type of a column is referenced by writing
        
-       class="parameter">tablename.
-       class="parameter">columnname%TYPE.
+       class="parameter">table_name.
+       class="parameter">column_name%TYPE.
        Using this feature can sometimes help make a function independent of
        changes to the definition of a table.
       
@@ -156,7 +156,7 @@ CREATE [ OR REPLACE ] FUNCTION
     
 
     
-     defexpr
+     default_expr
 
      
       
@@ -198,14 +198,14 @@ CREATE [ OR REPLACE ] FUNCTION
       
        The type of a column is referenced by writing
        
-       class="parameter">tablename.
-       class="parameter">columnname%TYPE.
+       class="parameter">table_name.
+       class="parameter">column_name%TYPE.
       
      
     
 
     
-     colname
+     column_name
 
      
       
@@ -218,7 +218,7 @@ CREATE [ OR REPLACE ] FUNCTION
     
 
     
-     coltype
+     column_type
 
      
       
@@ -229,7 +229,7 @@ CREATE [ OR REPLACE ] FUNCTION
     
 
     
-     langname
+     lang_name
 
      
       
index b45fa6eeb20ac0b782b3d21efb9e2a1d43993b5f..80ba1f49af36547223efee870b7969a5a1c73d18 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -33,11 +33,11 @@ CREATE GROUP name [ [ WITH ] 
     | LOGIN | NOLOGIN
     | [ ENCRYPTED | UNENCRYPTED ] PASSWORD 'password'
     | VALID UNTIL 'timestamp' 
-    | IN ROLE rolename [, ...]
-    | IN GROUP rolename [, ...]
-    | ROLE rolename [, ...]
-    | ADMIN rolename [, ...]
-    | USER rolename [, ...]
+    | IN ROLE role_name [, ...]
+    | IN GROUP role_name [, ...]
+    | ROLE role_name [, ...]
+    | ADMIN role_name [, ...]
+    | USER role_name [, ...]
     | SYSID uid 
 
  
index c9cc7b2c0cc7d73c917b1f87249d03acf2327de6..44e1f1f21fd22b1f4a57ab98c4fa8cfb24970a7a 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -24,7 +24,7 @@ PostgreSQL documentation
 CREATE OPERATOR CLASS name [ DEFAULT ] FOR TYPE data_type
   USING index_method [ FAMILY family_name ] AS
   {  OPERATOR strategy_number operator_name [ ( op_type, op_type ) ]
-   | FUNCTION support_number [ ( op_type [ , op_type ] ) ] funcname ( argument_type [, ...] )
+   | FUNCTION support_number [ ( op_type [ , op_type ] ) ] function_name ( argument_type [, ...] )
    | STORAGE storage_type
   } [, ... ]
 
@@ -191,7 +191,7 @@ CREATE OPERATOR CLASS name [ DEFAUL
    
 
    
-    funcname
+    function_name
     
      
       The name (optionally schema-qualified) of a function that is an
@@ -201,7 +201,7 @@ CREATE OPERATOR CLASS name [ DEFAUL
    
 
    
-    argument_types
+    argument_type
     
      
       The parameter data type(s) of the function.
index d45e2c3045e3b6ba5327494fcf6bdb2bd5f9fdfb..7c0b545e894ca8e9be53674885603211954526cc 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -22,8 +22,8 @@ PostgreSQL documentation
  
 
 CREATE OPERATOR name (
-    PROCEDURE = funcname
-    [, LEFTARG = lefttype ] [, RIGHTARG = righttype ]
+    PROCEDURE = function_name
+    [, LEFTARG = left_type ] [, RIGHTARG = right_type ]
     [, COMMUTATOR = com_op ] [, NEGATOR = neg_op ]
     [, RESTRICT = res_proc ] [, JOIN = join_proc ]
     [, HASHES ] [, MERGES ]
@@ -88,7 +88,7 @@ CREATE OPERATOR name (
   
 
   
-   The funcname
+   The function_name
    procedure must have been previously defined using CREATE
    FUNCTION and must be defined to accept the correct number
    of arguments (either one or two) of the indicated types.
@@ -120,7 +120,7 @@ CREATE OPERATOR name (
      
 
      
-      funcname
+      function_name
       
        
         The function used to implement this operator.
@@ -129,7 +129,7 @@ CREATE OPERATOR name (
      
 
      
-      lefttype
+      left_type
       
        
         The data type of the operator's left operand, if any.
@@ -139,7 +139,7 @@ CREATE OPERATOR name (
      
 
      
-      righttype
+      right_type
       
        
         The data type of the operator's right operand, if any.
index d65456b4a14130f068f140c64dc52546d432ce22..60e7d7c862d0c704ccf077df6cfadd9ac651ac7c 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -34,11 +34,11 @@ CREATE ROLE name [ [ WITH ] 
     | CONNECTION LIMIT connlimit
     | [ ENCRYPTED | UNENCRYPTED ] PASSWORD 'password'
     | VALID UNTIL 'timestamp' 
-    | IN ROLE rolename [, ...]
-    | IN GROUP rolename [, ...]
-    | ROLE rolename [, ...]
-    | ADMIN rolename [, ...]
-    | USER rolename [, ...]
+    | IN ROLE role_name [, ...]
+    | IN GROUP role_name [, ...]
+    | ROLE role_name [, ...]
+    | ADMIN role_name [, ...]
+    | USER role_name [, ...]
     | SYSID uid 
 
  
@@ -237,7 +237,7 @@ CREATE ROLE name [ [ WITH ] 
      
 
      
-      IN ROLE rolename
+      IN ROLE role_name
       
        
         The IN ROLE clause lists one or more existing
@@ -249,7 +249,7 @@ CREATE ROLE name [ [ WITH ] 
      
 
      
-      IN GROUP rolename
+      IN GROUP role_name
       
        
         IN GROUP is an obsolete spelling of
@@ -259,7 +259,7 @@ CREATE ROLE name [ [ WITH ] 
      
 
      
-      ROLE rolename
+      ROLE role_name
       
        
         The ROLE clause lists one or more existing
@@ -270,7 +270,7 @@ CREATE ROLE name [ [ WITH ] 
      
 
      
-      ADMIN rolename
+      ADMIN role_name
       
        
         The ADMIN clause is like ROLE,
@@ -282,7 +282,7 @@ CREATE ROLE name [ [ WITH ] 
      
 
      
-      USER rolename
+      USER role_name
       
        
         The USER clause is an obsolete spelling of
@@ -432,7 +432,7 @@ CREATE ROLE admin WITH CREATEDB CREATEROLE;
    The CREATE ROLE statement is in the SQL standard,
    but the standard only requires the syntax
 
-CREATE ROLE name [ WITH ADMIN rolename ]
+CREATE ROLE name [ WITH ADMIN role_name ]
 
    Multiple initial administrators, and all the other options of
    CREATE ROLE, are
index 14cfa8a8f0cf5e6a599494d0af84f0614bfcba5d..b92fa0f93f42b61cb5ffa3cfa74d40553aa7f85f 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,8 +21,8 @@ PostgreSQL documentation
 
  
 
-CREATE SCHEMA schemaname [ AUTHORIZATION username ] [ schema_element [ ... ] ]
-CREATE SCHEMA AUTHORIZATION username [ schema_element [ ... ] ]
+CREATE SCHEMA schema_name [ AUTHORIZATION user_name ] [ schema_element [ ... ] ]
+CREATE SCHEMA AUTHORIZATION user_name [ schema_element [ ... ] ]
 
  
 
@@ -62,7 +62,7 @@ CREATE SCHEMA AUTHORIZATION username
 
     
      
-      schemaname
+      schema_name
       
        
         The name of a schema to be created.  If this is omitted, the user name
@@ -74,7 +74,7 @@ CREATE SCHEMA AUTHORIZATION username
      
 
      
-      username
+      user_name
       
        
         The name of the user who will own the schema.  If omitted,
index f72703d77094220f05e14b12be233f654674afcc..06c20ea87fcae924c102fe30579b63333d7162f5 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,8 +21,8 @@ PostgreSQL documentation
 
  
 
-CREATE SERVER servername [ TYPE 'servertype' ] [ VERSION 'serverversion' ]
-    FOREIGN DATA WRAPPER fdwname
+CREATE SERVER server_name [ TYPE 'server_type' ] [ VERSION 'server_version' ]
+    FOREIGN DATA WRAPPER fdw_name
     [ OPTIONS ( option 'value' [, ... ] ) ]
 
  
@@ -57,7 +57,7 @@ CREATE SERVER servername [ TYPE 'se
 
   
    
-    servername
+    server_name
     
      
       The name of the foreign server to be created.
@@ -66,7 +66,7 @@ CREATE SERVER servername [ TYPE 'se
    
 
    
-    servertype
+    server_type
     
      
       Optional server type.
@@ -75,7 +75,7 @@ CREATE SERVER servername [ TYPE 'se
    
 
    
-    serverversion
+    server_version
     
      
       Optional server version.
@@ -84,7 +84,7 @@ CREATE SERVER servername [ TYPE 'se
    
 
    
-    fdwname
+    fdw_name
     
      
       The name of the foreign-data wrapper that manages the server.
index 73322467c6437bf81f17054def9db693cc4799b6..4e1ae9571c3b1235e1c9ce2f58740408898a13bf 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-CREATE TABLESPACE tablespacename [ OWNER username ] LOCATION 'directory'
+CREATE TABLESPACE tablespace_name [ OWNER user_name ] LOCATION 'directory'
 
  
 
@@ -42,7 +42,7 @@ CREATE TABLESPACE tablespacename [
 
   
    A user with appropriate privileges can pass
-   tablespacename to
+   tablespace_name to
    CREATE DATABASE, CREATE TABLE,
    CREATE INDEX or ADD CONSTRAINT to have the data
    files for these objects stored within the specified tablespace.
@@ -54,7 +54,7 @@ CREATE TABLESPACE tablespacename [
 
     
      
-      tablespacename
+      tablespace_name
       
        
         The name of a tablespace to be created.  The name cannot
@@ -65,7 +65,7 @@ CREATE TABLESPACE tablespacename [
      
 
      
-      username
+      user_name
       
        
         The name of the user who will own the tablespace.  If omitted,
index 8d7574319f932d5d624e50144ea4973886bf1656..38036ee1683921f61a782ed99b15840d5f99b8aa 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -23,7 +23,7 @@ PostgreSQL documentation
 
 CREATE TRIGGER name { BEFORE | AFTER } { event [ OR ... ] }
     ON table [ FOR [ EACH ] { ROW | STATEMENT } ]
-    EXECUTE PROCEDURE funcname ( arguments )
+    EXECUTE PROCEDURE function_name ( arguments )
 
  
 
@@ -34,7 +34,7 @@ CREATE TRIGGER name { BEFORE | AFTE
    CREATE TRIGGER creates a new trigger.  The
    trigger will be associated with the specified table and will
    execute the specified function 
-   class="parameter">funcname when certain events occur.
+   class="parameter">function_name when certain events occur.
   
 
   
@@ -150,7 +150,7 @@ CREATE TRIGGER name { BEFORE | AFTE
    
 
    
-    funcname
+    function_name
     
      
       A user-supplied function that is declared as taking no arguments
index 7530ead7beac5a8a525e8e6173cbb44ae6c4b765..5b155823ff886224626649adaa734ca7a94231a3 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -34,11 +34,11 @@ CREATE USER name [ [ WITH ] 
     | CONNECTION LIMIT connlimit
     | [ ENCRYPTED | UNENCRYPTED ] PASSWORD 'password'
     | VALID UNTIL 'timestamp' 
-    | IN ROLE rolename [, ...]
-    | IN GROUP rolename [, ...]
-    | ROLE rolename [, ...]
-    | ADMIN rolename [, ...]
-    | USER rolename [, ...]
+    | IN ROLE role_name [, ...]
+    | IN GROUP role_name [, ...]
+    | ROLE role_name [, ...]
+    | ADMIN role_name [, ...]
+    | USER role_name [, ...]
     | SYSID uid 
 
  
index faea45a1427129e19b65542aaa378cb6e1a7a997..f1113907f4d03f57b5779327a77379c2c0d98b86 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,8 +21,8 @@ PostgreSQL documentation
 
  
 
-CREATE USER MAPPING FOR { username | USER | CURRENT_USER | PUBLIC }
-    SERVER servername
+CREATE USER MAPPING FOR { user_name | USER | CURRENT_USER | PUBLIC }
+    SERVER server_name
     [ OPTIONS ( option 'value' [ , ... ] ) ]
 
  
@@ -51,7 +51,7 @@ CREATE USER MAPPING FOR { username
 
   
    
-    username
+    user_name
     
      
       The name of an existing user that is mapped to foreign server.
@@ -64,7 +64,7 @@ CREATE USER MAPPING FOR { username
    
 
    
-    servername
+    server_name
     
      
       The name of an existing server for which the user mapping is
index 62e4555614f07175d63b90b23dd2dc4ea86b6636..6b175b943bbf15226d0c612f8eec202277955607 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -22,7 +22,7 @@ PostgreSQL documentation
  
 
 DELETE FROM [ ONLY ] table [ [ AS ] alias ]
-    [ USING usinglist ]
+    [ USING using_list ]
     [ WHERE condition | WHERE CURRENT OF cursor_name ]
     [ RETURNING * | output_expression [ [ AS ] output_name ] [, ...] ]
 
@@ -116,7 +116,7 @@ DELETE FROM [ ONLY ] table [ [ AS ]
    
 
    
-    usinglist
+    using_list
     
      
       A list of table expressions, allowing columns from other tables
@@ -125,7 +125,7 @@ DELETE FROM [ ONLY ] table [ [ AS ]
       linkend="sql-from" endterm="sql-from-title"> of a
       SELECT statement; for example, an alias for
       the table name can be specified.  Do not repeat the target table
-      in the usinglist,
+      in the using_list,
       unless you wish to set up a self-join.
      
     
index 8422e1708efc63536972cd1c535cff72421fe118..cc99fe850c7d8a7a127f9905142a46b75b7b875c 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  
@@ -18,7 +18,7 @@
 
  
 
-DROP CAST [ IF EXISTS ] (sourcetype AS targettype) [ CASCADE | RESTRICT ]
+DROP CAST [ IF EXISTS ] (source_type AS target_type) [ CASCADE | RESTRICT ]
 
  
   
@@ -52,7 +52,7 @@ DROP CAST [ IF EXISTS ] (sourcetype AS t
    
 
     
-     sourcetype
+     source_type
 
      
       
@@ -62,7 +62,7 @@ DROP CAST [ IF EXISTS ] (sourcetype AS t
     
 
     
-     targettype
+     target_type
 
      
       
index c489bcb085cc833eae561b9937ebce499578e5ea..8007d8820d838bae58fcac7dfc50edc3df030ae7 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-DROP OPERATOR [ IF EXISTS ] name ( { lefttype | NONE } , { righttype | NONE } ) [ CASCADE | RESTRICT ]
+DROP OPERATOR [ IF EXISTS ] name ( { left_type | NONE } , { right_type | NONE } ) [ CASCADE | RESTRICT ]
 
  
 
@@ -60,7 +60,7 @@ DROP OPERATOR [ IF EXISTS ] name (
    
 
    
-    lefttype
+    left_type
     
      
       The data type of the operator's left operand; write
@@ -70,7 +70,7 @@ DROP OPERATOR [ IF EXISTS ] name (
    
 
    
-    righttype
+    right_type
     
      
       The data type of the operator's right operand; write
index 9e3f8894dec4db5567998575cff6ec71a806afd1..a902e86636104c6584c23f8c41491c1d348d8387 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-DROP RULE [ IF EXISTS ] name ON relation [ CASCADE | RESTRICT ]
+DROP RULE [ IF EXISTS ] name ON table [ CASCADE | RESTRICT ]
 
  
 
@@ -58,7 +58,7 @@ DROP RULE [ IF EXISTS ] name ON 
    
 
    
-    relation
+    table
     
      
       The name (optionally schema-qualified) of the table or view that
index c68ec08919a9d861113b19ad5afefc9d2de5f4b4..2e79391b11b69f66a985ca74d168df83f112c1d5 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-DROP SERVER [ IF EXISTS ] servername [ CASCADE | RESTRICT ]
+DROP SERVER [ IF EXISTS ] server_name [ CASCADE | RESTRICT ]
 
  
 
@@ -50,7 +50,7 @@ DROP SERVER [ IF EXISTS ] servername
    
 
    
-    servername
+    server_name
     
      
       The name of an existing server.
index 105e79f0de41bfedab2fed2d453e04ebfa29e674..0d0f2ea981fca4893451798ab025956dd543226a 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-DROP TABLESPACE [ IF EXISTS ] tablespacename
+DROP TABLESPACE [ IF EXISTS ] tablespace_name
 
  
 
@@ -60,7 +60,7 @@ DROP TABLESPACE [ IF EXISTS ] tablespacename
    
 
    
-    tablespacename
+    tablespace_name
     
      
       The name of a tablespace.
index 601cb2d494b4a9ee88f5f210d7cec4c546c5b9ff..8e8ed1d10353d737e279b3395b14f5b5e5d329f4 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-DROP USER MAPPING [ IF EXISTS ] FOR { username | USER | CURRENT_USER | PUBLIC } SERVER servername
+DROP USER MAPPING [ IF EXISTS ] FOR { user_name | USER | CURRENT_USER | PUBLIC } SERVER server_name
 
  
 
@@ -56,7 +56,7 @@ DROP USER MAPPING [ IF EXISTS ] FOR { username
    
 
    
-    username
+    user_name
     
      
       User name of the mapping.  CURRENT_USER
@@ -68,7 +68,7 @@ DROP USER MAPPING [ IF EXISTS ] FOR { username
    
 
    
-    servername
+    server_name
     
      
       Server name of the user mapping.
index ca81bcf55749ed49437cdd977ad14801f2b49551..af4218b7618d82e69ef907feec7b3ca4f14c4a9a 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -26,7 +26,7 @@ PostgreSQL documentation
 
  
 
-FETCH [ direction { FROM | IN } ] cursorname
+FETCH [ direction { FROM | IN } ] cursor_name
 
 where direction can be empty or one of:
 
@@ -285,7 +285,7 @@ FETCH [ direction { FROM | IN } ] <
    
 
    
-    cursorname
+    cursor_name
     
      
       An open cursor's name.
index 55f87006bf4937eb2ad92fd264f11efc8624fbaf..4dddde27b9188abbc7831742d0ce9701fa041a47 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -23,48 +23,48 @@ PostgreSQL documentation
 
 GRANT { { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER }
     [,...] | ALL [ PRIVILEGES ] }
-    ON [ TABLE ] tablename [, ...]
-    TO { [ GROUP ] rolename | PUBLIC } [, ...] [ WITH GRANT OPTION ]
+    ON [ TABLE ] table_name [, ...]
+    TO { [ GROUP ] role_name | PUBLIC } [, ...] [ WITH GRANT OPTION ]
 
 GRANT { { SELECT | INSERT | UPDATE | REFERENCES } ( column [, ...] )
     [,...] | ALL [ PRIVILEGES ] ( column [, ...] ) }
-    ON [ TABLE ] tablename [, ...]
-    TO { [ GROUP ] rolename | PUBLIC } [, ...] [ WITH GRANT OPTION ]
+    ON [ TABLE ] table_name [, ...]
+    TO { [ GROUP ] role_name | PUBLIC } [, ...] [ WITH GRANT OPTION ]
 
 GRANT { { USAGE | SELECT | UPDATE }
     [,...] | ALL [ PRIVILEGES ] }
-    ON SEQUENCE sequencename [, ...]
-    TO { [ GROUP ] rolename | PUBLIC } [, ...] [ WITH GRANT OPTION ]
+    ON SEQUENCE sequence_name [, ...]
+    TO { [ GROUP ] role_name | PUBLIC } [, ...] [ WITH GRANT OPTION ]
 
 GRANT { { CREATE | CONNECT | TEMPORARY | TEMP } [,...] | ALL [ PRIVILEGES ] }
-    ON DATABASE dbname [, ...]
-    TO { [ GROUP ] rolename | PUBLIC } [, ...] [ WITH GRANT OPTION ]
+    ON DATABASE database_name [, ...]
+    TO { [ GROUP ] role_name | PUBLIC } [, ...] [ WITH GRANT OPTION ]
 
 GRANT { USAGE | ALL [ PRIVILEGES ] }
-    ON FOREIGN DATA WRAPPER fdwname [, ...]
-    TO { [ GROUP ] rolename | PUBLIC } [, ...] [ WITH GRANT OPTION ]
+    ON FOREIGN DATA WRAPPER fdw_name [, ...]
+    TO { [ GROUP ] role_name | PUBLIC } [, ...] [ WITH GRANT OPTION ]
 
 GRANT { USAGE | ALL [ PRIVILEGES ] }
-    ON FOREIGN SERVER servername [, ...]
-    TO { [ GROUP ] rolename | PUBLIC } [, ...] [ WITH GRANT OPTION ]
+    ON FOREIGN SERVER server_name [, ...]
+    TO { [ GROUP ] role_name | PUBLIC } [, ...] [ WITH GRANT OPTION ]
 
 GRANT { EXECUTE | ALL [ PRIVILEGES ] }
-    ON FUNCTION funcname ( [ [ argmode ] [ argname ] argtype [, ...] ] ) [, ...]
-    TO { [ GROUP ] rolename | PUBLIC } [, ...] [ WITH GRANT OPTION ]
+    ON FUNCTION function_name ( [ [ argmode ] [ arg_name ] arg_type [, ...] ] ) [, ...]
+    TO { [ GROUP ] role_name | PUBLIC } [, ...] [ WITH GRANT OPTION ]
 
 GRANT { USAGE | ALL [ PRIVILEGES ] }
-    ON LANGUAGE langname [, ...]
-    TO { [ GROUP ] rolename | PUBLIC } [, ...] [ WITH GRANT OPTION ]
+    ON LANGUAGE lang_name [, ...]
+    TO { [ GROUP ] role_name | PUBLIC } [, ...] [ WITH GRANT OPTION ]
 
 GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] }
-    ON SCHEMA schemaname [, ...]
-    TO { [ GROUP ] rolename | PUBLIC } [, ...] [ WITH GRANT OPTION ]
+    ON SCHEMA schema_name [, ...]
+    TO { [ GROUP ] role_name | PUBLIC } [, ...] [ WITH GRANT OPTION ]
 
 GRANT { CREATE | ALL [ PRIVILEGES ] }
-    ON TABLESPACE tablespacename [, ...]
-    TO { [ GROUP ] rolename | PUBLIC } [, ...] [ WITH GRANT OPTION ]
+    ON TABLESPACE tablespace_name [, ...]
+    TO { [ GROUP ] role_name | PUBLIC } [, ...] [ WITH GRANT OPTION ]
 
-GRANT role [, ...] TO rolename [, ...] [ WITH ADMIN OPTION ]
+GRANT role_name [, ...] TO role_name [, ...] [ WITH ADMIN OPTION ]
 
  
 
index 2e27e48364f40ecc6c11ba6cce60c7596bb5b3f3..fdff72847b40e43a75348a08b7ae177f0cd7180a 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -26,7 +26,7 @@ PostgreSQL documentation
 
  
 
-MOVE [ direction { FROM | IN } ] cursorname
+MOVE [ direction { FROM | IN } ] cursor_name
 
  
 
index 37e8a043afe65b854cc4dbd2baf42c752df50017..3061da5e6d2be9d128480c0d936f81f9442a7a3c 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -26,7 +26,7 @@ PostgreSQL documentation
 
  
 
-PREPARE name [ ( datatype [, ...] ) ] AS statement
+PREPARE name [ ( data_type [, ...] ) ] AS statement
 
  
 
@@ -99,7 +99,7 @@ PREPARE name [ ( 
    
 
    
-    datatype
+    data_type
     
      
       The data type of a parameter to the prepared statement.  If the
index 0f967770c1158bb811d8b2f15af45d7371f4df8b..f46c9174aa066286164f230ad88e430748af0bbd 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -24,68 +24,68 @@ PostgreSQL documentation
 REVOKE [ GRANT OPTION FOR ]
     { { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER }
     [,...] | ALL [ PRIVILEGES ] }
-    ON [ TABLE ] tablename [, ...]
-    FROM { [ GROUP ] rolename | PUBLIC } [, ...]
+    ON [ TABLE ] table_name [, ...]
+    FROM { [ GROUP ] role_name | PUBLIC } [, ...]
     [ CASCADE | RESTRICT ]
 
 REVOKE [ GRANT OPTION FOR ]
     { { SELECT | INSERT | UPDATE | REFERENCES } ( column [, ...] )
     [,...] | ALL [ PRIVILEGES ] ( column [, ...] ) }
-    ON [ TABLE ] tablename [, ...]
-    FROM { [ GROUP ] rolename | PUBLIC } [, ...]
+    ON [ TABLE ] table_name [, ...]
+    FROM { [ GROUP ] role_name | PUBLIC } [, ...]
     [ CASCADE | RESTRICT ]
 
 REVOKE [ GRANT OPTION FOR ]
     { { USAGE | SELECT | UPDATE }
     [,...] | ALL [ PRIVILEGES ] }
-    ON SEQUENCE sequencename [, ...]
-    FROM { [ GROUP ] rolename | PUBLIC } [, ...]
+    ON SEQUENCE sequence_name [, ...]
+    FROM { [ GROUP ] role_name | PUBLIC } [, ...]
     [ CASCADE | RESTRICT ]
 
 REVOKE [ GRANT OPTION FOR ]
     { { CREATE | CONNECT | TEMPORARY | TEMP } [,...] | ALL [ PRIVILEGES ] }
-    ON DATABASE dbname [, ...]
-    FROM { [ GROUP ] rolename | PUBLIC } [, ...]
+    ON DATABASE database_name [, ...]
+    FROM { [ GROUP ] role_name | PUBLIC } [, ...]
     [ CASCADE | RESTRICT ]
 
 REVOKE [ GRANT OPTION FOR ]
     { USAGE | ALL [ PRIVILEGES ] }
-    ON FOREIGN DATA WRAPPER fdwname [, ...]
-    FROM { [ GROUP ] rolename | PUBLIC } [, ...]
+    ON FOREIGN DATA WRAPPER fdw_name [, ...]
+    FROM { [ GROUP ] role_name | PUBLIC } [, ...]
     [ CASCADE | RESTRICT ]
 
 REVOKE [ GRANT OPTION FOR ]
     { USAGE | ALL [ PRIVILEGES ] }
-    ON FOREIGN SERVER servername [, ...]
-    FROM { [ GROUP ] rolename | PUBLIC } [, ...]
+    ON FOREIGN SERVER server_name [, ...]
+    FROM { [ GROUP ] role_name | PUBLIC } [, ...]
     [ CASCADE | RESTRICT ]
 
 REVOKE [ GRANT OPTION FOR ]
     { EXECUTE | ALL [ PRIVILEGES ] }
-    ON FUNCTION funcname ( [ [ argmode ] [ argname ] argtype [, ...] ] ) [, ...]
-    FROM { [ GROUP ] rolename | PUBLIC } [, ...]
+    ON FUNCTION function_name ( [ [ argmode ] [ arg_name ] arg_type [, ...] ] ) [, ...]
+    FROM { [ GROUP ] role_name | PUBLIC } [, ...]
     [ CASCADE | RESTRICT ]
 
 REVOKE [ GRANT OPTION FOR ]
     { USAGE | ALL [ PRIVILEGES ] }
-    ON LANGUAGE langname [, ...]
-    FROM { [ GROUP ] rolename | PUBLIC } [, ...]
+    ON LANGUAGE lang_name [, ...]
+    FROM { [ GROUP ] role_name | PUBLIC } [, ...]
     [ CASCADE | RESTRICT ]
 
 REVOKE [ GRANT OPTION FOR ]
     { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] }
-    ON SCHEMA schemaname [, ...]
-    FROM { [ GROUP ] rolename | PUBLIC } [, ...]
+    ON SCHEMA schema_name [, ...]
+    FROM { [ GROUP ] role_name | PUBLIC } [, ...]
     [ CASCADE | RESTRICT ]
 
 REVOKE [ GRANT OPTION FOR ]
     { CREATE | ALL [ PRIVILEGES ] }
-    ON TABLESPACE tablespacename [, ...]
-    FROM { [ GROUP ] rolename | PUBLIC } [, ...]
+    ON TABLESPACE tablespace_name [, ...]
+    FROM { [ GROUP ] role_name | PUBLIC } [, ...]
     [ CASCADE | RESTRICT ]
 
 REVOKE [ ADMIN OPTION FOR ]
-    role [, ...] FROM rolename [, ...]
+    role_name [, ...] FROM role_name [, ...]
     [ CASCADE | RESTRICT ]
 
  
index 87cc9dadd642d50545bcc2e15fc99ef4e5ddcf36..1079de91130b711f436af86837ce0c55c3fa63a6 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-SET [ SESSION | LOCAL ] ROLE rolename
+SET [ SESSION | LOCAL ] ROLE role_name
 SET [ SESSION | LOCAL ] ROLE NONE
 RESET ROLE
 
@@ -33,7 +33,7 @@ RESET ROLE
   
    This command sets the current user
    identifier of the current SQL session to be 
-   class="parameter">rolename.  The role name can be
+   class="parameter">role_name.  The role name can be
    written as either an identifier or a string literal.
    After SET ROLE, permissions checking for SQL commands
    is carried out as though the named role were the one that had logged
@@ -41,7 +41,7 @@ RESET ROLE
   
 
   
-   The specified rolename
+   The specified role_name
    must be a role that the current session user is a member of.
    (If the session user is a superuser, any role can be selected.)
   
index 877102980149fd6727faa5b2193c2291e8ba0cc6..736baf90117f22108ec248d339424ceaade1360f 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   SET SESSION AUTHORIZATION
@@ -17,7 +17,7 @@
 
  
 
-SET [ SESSION | LOCAL ] SESSION AUTHORIZATION username
+SET [ SESSION | LOCAL ] SESSION AUTHORIZATION user_name
 SET [ SESSION | LOCAL ] SESSION AUTHORIZATION DEFAULT
 RESET SESSION AUTHORIZATION
 
@@ -29,7 +29,7 @@ RESET SESSION AUTHORIZATION
   
    This command sets the session user identifier and the current user
    identifier of the current SQL session to be 
-   class="parameter">username.  The user name can be
+   class="parameter">user_name.  The user name can be
    written as either an identifier or a string literal.  Using this
    command, it is possible, for example, to temporarily become an
    unprivileged user and later switch back to being a superuser.
@@ -99,7 +99,7 @@ SELECT SESSION_USER, CURRENT_USER;
 
   
    The SQL standard allows some other expressions to appear in place
-   of the literal username, but these options
+   of the literal user_name, but these options
    are not important in practice.  PostgreSQL
    allows identifier syntax ("username"), which SQL
    does not.  SQL does not allow this command during a transaction;
index 8f32c83dc44d3c20e814bcb79b258ed1d7772786..4ed6458f654f018f69fe01a2139354e697aefa1f 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -24,7 +24,7 @@ PostgreSQL documentation
 UPDATE [ ONLY ] table [ [ AS ] alias ]
     SET { column = { expression | DEFAULT } |
           ( column [, ...] ) = ( { expression | DEFAULT } [, ...] ) } [, ...]
-    [ FROM fromlist ]
+    [ FROM from_list ]
     [ WHERE condition | WHERE CURRENT OF cursor_name ]
     [ RETURNING * | output_expression [ [ AS ] output_name ] [, ...] ]
 
@@ -136,7 +136,7 @@ UPDATE [ ONLY ] table [ [ AS ] 
    
 
    
-    fromlist
+    from_list
     
      
       A list of table expressions, allowing columns from other tables
@@ -145,8 +145,8 @@ UPDATE [ ONLY ] table [ [ AS ] 
       specified in the 
       endterm="sql-from-title"> of a SELECT
       statement.  Note that the target table must not appear in the
-      fromlist, unless you intend a self-join (in which
-      case it must appear with an alias in the fromlist).
+      from_list, unless you intend a self-join (in which
+      case it must appear with an alias in the from_list).
      
     
    
@@ -234,7 +234,7 @@ UPDATE count
   
    When a FROM clause is present, what essentially happens
    is that the target table is joined to the tables mentioned in the
-   fromlist, and each output row of the join
+   from_list, and each output row of the join
    represents an update operation for the target table.  When using
    FROM you should ensure that the join
    produces at most one output row for each row to be modified.  In