"David G. Johnston" <david.g.johns...@gmail.com> writes: > We probably should write the syntax like we do everywhere else: > [grantee]={privilege[*]}[…]/grantor > Then define the placeholders in the subsequent paragraph.
Seems reasonable. About like this? regards, tom lane
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index d2951cd754..664361a724 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -2318,8 +2318,12 @@ REVOKE ALL ON accounts FROM PUBLIC; <primary><type>aclitem</type></primary> </indexterm> The privileges that have been granted for a particular object are - displayed as a list of <type>aclitem</type> entries, where each - <type>aclitem</type> describes the permissions of one grantee that + displayed as a list of <type>aclitem</type> entries, each having the + format: +<synopsis> +<replaceable>grantee</replaceable><literal>=</literal><replaceable>privilege-abbreviations</replaceable><literal>/</literal><replaceable>grantor</replaceable> +</synopsis> + Each <type>aclitem</type> describes the permissions of one grantee that have been granted by a particular grantor. For example, <literal>calvin=r*w/hobbes</literal> specifies that the role <literal>calvin</literal> has the privilege