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

Commitf91812b

Browse files
committed
Doc: specify aclitem syntax more clearly.
The previous wording here relied solely on an example to explainaclitem output format. Add an actual syntax synopsis andexplanation of the elements to make it clearer.David Johnston and Tom Lane, per gripe from Eugen Konkov.Discussion:https://postgr.es/m/170326116972.1876499.18357820037829248593@wrigleys.postgresql.org
1 parentbf4f30a commitf91812b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

‎doc/src/sgml/ddl.sgml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2141,9 +2141,16 @@ REVOKE ALL ON accounts FROM PUBLIC;
21412141
<primary><type>aclitem</type></primary>
21422142
</indexterm>
21432143
The privileges that have been granted for a particular object are
2144-
displayed as a list of <type>aclitem</type> entries, where each
2145-
<type>aclitem</type> describes the permissions of one grantee that
2146-
have been granted by a particular grantor. For example,
2144+
displayed as a list of <type>aclitem</type> entries, each having the
2145+
format:
2146+
<synopsis>
2147+
<replaceable>grantee</replaceable><literal>=</literal><replaceable>privilege-abbreviation</replaceable><optional><literal>*</literal></optional>...<literal>/</literal><replaceable>grantor</replaceable>
2148+
</synopsis>
2149+
Each <type>aclitem</type> lists all the permissions of one grantee that
2150+
have been granted by a particular grantor. Specific privileges are
2151+
represented by one-letter abbreviations from
2152+
<xref linkend="privilege-abbrevs-table"/>, with <literal>*</literal>
2153+
appended if the privilege was granted with grant option. For example,
21472154
<literal>calvin=r*w/hobbes</literal> specifies that the role
21482155
<literal>calvin</literal> has the privilege
21492156
<literal>SELECT</literal> (<literal>r</literal>) with grant option

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp