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

Commitb101003

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 parentcb88f44 commitb101003

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp