Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e51c2a4

Browse files
committed
Doc: fix minor oversight in ALTER DEFAULT PRIVILEGES ref page.
Since schemas have more than one kind of privilege, we should use the synopsis form that shows the privilege being possibly repeated. Yugo Nagata Discussion: https://postgr.es/m/20240424155052.7ac0d0773e4ae27ab723faea@sraoss.co.jp
1 parent cc893b8 commit e51c2a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/sgml/ref/alter_default_privileges.sgml

+4-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ GRANT { USAGE | ALL [ PRIVILEGES ] }
4646
ON TYPES
4747
TO { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ]
4848

49-
GRANT { USAGE | CREATE | ALL [ PRIVILEGES ] }
49+
GRANT { { USAGE | CREATE }
50+
[, ...] | ALL [ PRIVILEGES ] }
5051
ON SCHEMAS
5152
TO { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...] [ WITH GRANT OPTION ]
5253

@@ -77,7 +78,8 @@ REVOKE [ GRANT OPTION FOR ]
7778
[ CASCADE | RESTRICT ]
7879

7980
REVOKE [ GRANT OPTION FOR ]
80-
{ USAGE | CREATE | ALL [ PRIVILEGES ] }
81+
{ { USAGE | CREATE }
82+
[, ...] | ALL [ PRIVILEGES ] }
8183
ON SCHEMAS
8284
FROM { [ GROUP ] <replaceable class="parameter">role_name</replaceable> | PUBLIC } [, ...]
8385
[ CASCADE | RESTRICT ]

0 commit comments

Comments
 (0)