Skip to content

Commit cd0678a

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 a7ed15f commit cd0678a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/sgml/ref/alter_default_privileges.sgml

Lines changed: 4 additions & 2 deletions
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)