Skip to content

Commit cba045b

Browse files
committed
Copy-edit the docs changes of OWNER TO CURRENT/SESSION_USER additions.
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.
1 parent e4f29ce commit cba045b

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

doc/src/sgml/ref/alter_large_object.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ PostgreSQL documentation
2121

2222
<refsynopsisdiv>
2323
<synopsis>
24-
ALTER LARGE OBJECT <replaceable class="PARAMETER">large_object_oid</replaceable> { OWNER TO <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
24+
ALTER LARGE OBJECT <replaceable class="PARAMETER">large_object_oid</replaceable> OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
2525
</synopsis>
2626
</refsynopsisdiv>
2727

doc/src/sgml/ref/alter_opclass.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ PostgreSQL documentation
2222
<refsynopsisdiv>
2323
<synopsis>
2424
ALTER OPERATOR CLASS <replaceable>name</replaceable> USING <replaceable class="parameter">index_method</replaceable>
25-
RENAME TO <replaceable>new_name</replaceable>
25+
RENAME TO <replaceable>new_name</replaceable>
2626

2727
ALTER OPERATOR CLASS <replaceable>name</replaceable> USING <replaceable class="parameter">index_method</replaceable>
28-
{ OWNER TO <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
28+
OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
2929

3030
ALTER OPERATOR CLASS <replaceable>name</replaceable> USING <replaceable class="parameter">index_method</replaceable>
31-
SET SCHEMA <replaceable>new_schema</replaceable>
31+
SET SCHEMA <replaceable>new_schema</replaceable>
3232
</synopsis>
3333
</refsynopsisdiv>
3434

doc/src/sgml/ref/alter_operator.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ PostgreSQL documentation
2222
<refsynopsisdiv>
2323
<synopsis>
2424
ALTER OPERATOR <replaceable>name</replaceable> ( { <replaceable>left_type</replaceable> | NONE } , { <replaceable>right_type</replaceable> | NONE } )
25-
{ OWNER TO <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
25+
OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
2626

2727
ALTER OPERATOR <replaceable>name</replaceable> ( { <replaceable>left_type</replaceable> | NONE } , { <replaceable>right_type</replaceable> | NONE } )
28-
SET SCHEMA <replaceable>new_schema</replaceable>
28+
SET SCHEMA <replaceable>new_schema</replaceable>
2929
</synopsis>
3030
</refsynopsisdiv>
3131

doc/src/sgml/ref/alter_opfamily.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ ALTER OPERATOR FAMILY <replaceable>name</replaceable> USING <replaceable class="
3434
} [, ... ]
3535

3636
ALTER OPERATOR FAMILY <replaceable>name</replaceable> USING <replaceable class="parameter">index_method</replaceable>
37-
RENAME TO <replaceable>new_name</replaceable>
37+
RENAME TO <replaceable>new_name</replaceable>
3838

3939
ALTER OPERATOR FAMILY <replaceable>name</replaceable> USING <replaceable class="parameter">index_method</replaceable>
40-
OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
40+
OWNER TO { <replaceable>new_owner</replaceable> | CURRENT_USER | SESSION_USER }
4141

4242
ALTER OPERATOR FAMILY <replaceable>name</replaceable> USING <replaceable class="parameter">index_method</replaceable>
43-
SET SCHEMA <replaceable>new_schema</replaceable>
43+
SET SCHEMA <replaceable>new_schema</replaceable>
4444
</synopsis>
4545
</refsynopsisdiv>
4646

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy