Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36b564c

Browse files
committed
Fix erroneous documentation about noise word GROUP.
GRANT, REVOKE, and some allied commands allow the noise word GROUPbefore a role name (cf. grantee production in gram.y). This optiondoes not exist elsewhere, but it had nonetheless snuck into thedocumentation for ALTER ROLE, ALTER USER, and CREATE SCHEMA.Seems to be a copy-and-pasteo in commit31eae60, which did expand thesyntax choices here, but not in that way. Back-patch to 9.5 where thatcame in.Discussion:https://postgr.es/m/20170916123750.8885.66941@wrigleys.postgresql.org
1 parent57eebca commit36b564c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎doc/src/sgml/ref/alter_role.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A
4545

4646
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
4747

48-
[ GROUP ]<replaceable class="PARAMETER">role_name</replaceable>
48+
<replaceable class="PARAMETER">role_name</replaceable>
4949
| CURRENT_USER
5050
| SESSION_USER
5151
</synopsis>

‎doc/src/sgml/ref/alter_user.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ALTER USER { <replaceable class="PARAMETER">role_specification</replaceable> | A
4545

4646
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
4747

48-
[ GROUP ]<replaceable class="PARAMETER">role_name</replaceable>
48+
<replaceable class="PARAMETER">role_name</replaceable>
4949
| CURRENT_USER
5050
| SESSION_USER
5151
</synopsis>

‎doc/src/sgml/ref/create_schema.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ CREATE SCHEMA IF NOT EXISTS AUTHORIZATION <replaceable class="PARAMETER">role_sp
2828

2929
<phrase>where <replaceable class="PARAMETER">role_specification</replaceable> can be:</phrase>
3030

31-
[ GROUP ]<replaceable class="PARAMETER">user_name</replaceable>
31+
<replaceable class="PARAMETER">user_name</replaceable>
3232
| CURRENT_USER
3333
| SESSION_USER
3434
</synopsis>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp