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

Commite51c2a4

Browse files
committed
Doc: fix minor oversight in ALTER DEFAULT PRIVILEGES ref page.
Since schemas have more than one kind of privilege, we shoulduse the synopsis form that shows the privilege being possiblyrepeated.Yugo NagataDiscussion:https://postgr.es/m/20240424155052.7ac0d0773e4ae27ab723faea@sraoss.co.jp
1 parentcc893b8 commite51c2a4

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)

[8]ページ先頭

©2009-2025 Movatter.jp