Copy-edit the docs changes of OWNER TO CURRENT/SESSION_USER additions.
authorHeikki Linnakangas
Fri, 10 Jul 2015 11:28:34 +0000 (14:28 +0300)
committerHeikki Linnakangas
Fri, 10 Jul 2015 11:48:27 +0000 (14:48 +0300)
Commit 31eae602 added new syntax to many DDL commands to use CURRENT_USER
or SESSION_USER instead of role name in ALTER ... OWNER TO, but because
of a misplaced '{', the syntax in the docs implied that the syntax was
"ALTER ... CURRENT_USER", instead of "ALTER ... OWNER TO CURRENT_USER".
Fix that, and also the funny indentation in some of the modified syntax
blurps.

doc/src/sgml/ref/alter_large_object.sgml
doc/src/sgml/ref/alter_opclass.sgml
doc/src/sgml/ref/alter_operator.sgml
doc/src/sgml/ref/alter_opfamily.sgml

index a0ed6c22f3449d8f72bf28606e2e320877640a2d..5748d52db115bed6f43ba3f746d50ac2f214f796 100644 (file)
@@ -21,7 +21,7 @@ PostgreSQL documentation
 
  
 
-ALTER LARGE OBJECT large_object_oid { OWNER TO new_owner | CURRENT_USER | SESSION_USER }
+ALTER LARGE OBJECT large_object_oid OWNER TO { new_owner | CURRENT_USER | SESSION_USER }
 
  
 
index 2e561be8d78f4f25ef8c7925e06882f1a060594b..58de603aa4683319484d3232f60f499fcbe87511 100644 (file)
@@ -22,13 +22,13 @@ PostgreSQL documentation
  
 
 ALTER OPERATOR CLASS name USING index_method
-           RENAME TO new_name
+    RENAME TO new_name
 
 ALTER OPERATOR CLASS name USING index_method
-          { OWNER TO new_owner | CURRENT_USER | SESSION_USER }
+    OWNER TO { new_owner | CURRENT_USER | SESSION_USER }
 
 ALTER OPERATOR CLASS name USING index_method
-          SET SCHEMA new_schema
+    SET SCHEMA new_schema
 
  
 
index bdb2d029b171a297307b1c52a2fcbbc5cd2ffa92..8a7af50d6049c479662530b48b02d565dbdf62fc 100644 (file)
@@ -22,10 +22,10 @@ PostgreSQL documentation
  
 
 ALTER OPERATOR name ( { left_type | NONE } , { right_type | NONE } )
-             { OWNER TO new_owner | CURRENT_USER | SESSION_USER }
+    OWNER TO { new_owner | CURRENT_USER | SESSION_USER }
 
 ALTER OPERATOR name ( { left_type | NONE } , { right_type | NONE } )
-               SET SCHEMA new_schema
+    SET SCHEMA new_schema
 
  
 
index b0942b6ea7de2c71053357cca076fdf168507ccf..4511c7f7b24c9cc5865150dceca28dda648259c0 100644 (file)
@@ -34,13 +34,13 @@ ALTER OPERATOR FAMILY name USING 
   } [, ... ]
 
 ALTER OPERATOR FAMILY name USING index_method
-            RENAME TO new_name
+    RENAME TO new_name
 
 ALTER OPERATOR FAMILY name USING index_method
-             OWNER TO { new_owner | CURRENT_USER | SESSION_USER }
+    OWNER TO { new_owner | CURRENT_USER | SESSION_USER }
 
 ALTER OPERATOR FAMILY name USING index_method
-           SET SCHEMA new_schema
+    SET SCHEMA new_schema