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

Commit afc4a78

Browse files
committed
Refactor documentation about privileges to centralize the info.
Expand section 5.6 "Privileges" to include the full definition of each privilege type, and an explanation of aclitem privilege displays, along with some helpful summary tables. Most of this material came out of the GRANT reference page, although some of it is new. Adjust a bunch of links that were pointing to GRANT to point to 5.6. Fabien Coelho and Tom Lane, reviewed by Bradley DeJong Discussion: https://postgr.es/m/alpine.DEB.2.21.1807311735200.20743@lancre
1 parent ee2b37a commit afc4a78

8 files changed

+589
-390
lines changed

doc/src/sgml/catalogs.sgml

+11-43
Original file line numberDiff line numberDiff line change
@@ -1973,10 +1973,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
19731973
<entry><type>aclitem[]</type></entry>
19741974
<entry></entry>
19751975
<entry>
1976-
Access privileges; see
1977-
<xref linkend="sql-grant"/> and
1978-
<xref linkend="sql-revoke"/>
1979-
for details
1976+
Access privileges; see <xref linkend="ddl-priv"/> for details
19801977
</entry>
19811978
</row>
19821979

@@ -2679,10 +2676,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
26792676
<entry><type>aclitem[]</type></entry>
26802677
<entry></entry>
26812678
<entry>
2682-
Access privileges; see
2683-
<xref linkend="sql-grant"/> and
2684-
<xref linkend="sql-revoke"/>
2685-
for details
2679+
Access privileges; see <xref linkend="ddl-priv"/> for details
26862680
</entry>
26872681
</row>
26882682
</tbody>
@@ -3491,10 +3485,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
34913485
<entry><type>aclitem[]</type></entry>
34923486
<entry></entry>
34933487
<entry>
3494-
Access privileges; see
3495-
<xref linkend="sql-grant"/> and
3496-
<xref linkend="sql-revoke"/>
3497-
for details
3488+
Access privileges; see <xref linkend="ddl-priv"/> for details
34983489
</entry>
34993490
</row>
35003491

@@ -3587,10 +3578,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
35873578
<entry><type>aclitem[]</type></entry>
35883579
<entry></entry>
35893580
<entry>
3590-
Access privileges; see
3591-
<xref linkend="sql-grant"/> and
3592-
<xref linkend="sql-revoke"/>
3593-
for details
3581+
Access privileges; see <xref linkend="ddl-priv"/> for details
35943582
</entry>
35953583
</row>
35963584

@@ -4052,9 +4040,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
40524040
<entry></entry>
40534041
<entry>
40544042
The initial access privileges; see
4055-
<xref linkend="sql-grant"/> and
4056-
<xref linkend="sql-revoke"/>
4057-
for details
4043+
<xref linkend="ddl-priv"/> for details
40584044
</entry>
40594045
</row>
40604046

@@ -4179,10 +4165,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
41794165
<entry><type>aclitem[]</type></entry>
41804166
<entry></entry>
41814167
<entry>
4182-
Access privileges; see
4183-
<xref linkend="sql-grant"/> and
4184-
<xref linkend="sql-revoke"/>
4185-
for details
4168+
Access privileges; see <xref linkend="ddl-priv"/> for details
41864169
</entry>
41874170
</row>
41884171
</tbody>
@@ -4319,10 +4302,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
43194302
<entry><type>aclitem[]</type></entry>
43204303
<entry></entry>
43214304
<entry>
4322-
Access privileges; see
4323-
<xref linkend="sql-grant"/> and
4324-
<xref linkend="sql-revoke"/>
4325-
for details
4305+
Access privileges; see <xref linkend="ddl-priv"/> for details
43264306
</entry>
43274307
</row>
43284308

@@ -4386,10 +4366,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
43864366
<entry><type>aclitem[]</type></entry>
43874367
<entry></entry>
43884368
<entry>
4389-
Access privileges; see
4390-
<xref linkend="sql-grant"/> and
4391-
<xref linkend="sql-revoke"/>
4392-
for details
4369+
Access privileges; see <xref linkend="ddl-priv"/> for details
43934370
</entry>
43944371
</row>
43954372
</tbody>
@@ -5396,10 +5373,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
53965373
<entry><type>aclitem[]</type></entry>
53975374
<entry></entry>
53985375
<entry>
5399-
Access privileges; see
5400-
<xref linkend="sql-grant"/> and
5401-
<xref linkend="sql-revoke"/>
5402-
for details
5376+
Access privileges; see <xref linkend="ddl-priv"/> for details
54035377
</entry>
54045378
</row>
54055379
</tbody>
@@ -6810,10 +6784,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
68106784
<entry><type>aclitem[]</type></entry>
68116785
<entry></entry>
68126786
<entry>
6813-
Access privileges; see
6814-
<xref linkend="sql-grant"/> and
6815-
<xref linkend="sql-revoke"/>
6816-
for details
6787+
Access privileges; see <xref linkend="ddl-priv"/> for details
68176788
</entry>
68186789
</row>
68196790

@@ -7923,10 +7894,7 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
79237894
<entry><type>aclitem[]</type></entry>
79247895
<entry></entry>
79257896
<entry>
7926-
Access privileges; see
7927-
<xref linkend="sql-grant"/> and
7928-
<xref linkend="sql-revoke"/>
7929-
for details
7897+
Access privileges; see <xref linkend="ddl-priv"/> for details
79307898
</entry>
79317899
</row>
79327900
</tbody>

0 commit comments

Comments
 (0)