pg_default_acl missing 'n' case in doc

Started by Fabien COELHOover 7 years ago2 messages
#1Fabien COELHO
coelho@cri.ensmp.fr
1 attachment(s)

While looking at ACL prettyprinting, I noticed that "pg_default_acl"
documentation does not say anything about type 'n' for schema (namespace),
which seems to be supported according to "\ddp" and the catalog code.

Here is a small addition to add that 'n' is allowed for schema.

--
Fabien.

Attachments:

pg_default_acl-doc-fix.patchtext/plain; name=pg_default_acl-doc-fix.patchDownload
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml
index fffb79f713..3bb48d4ccf 100644
--- a/doc/src/sgml/catalogs.sgml
+++ b/doc/src/sgml/catalogs.sgml
@@ -2850,7 +2850,8 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
        <literal>r</literal> = relation (table, view),
        <literal>S</literal> = sequence,
        <literal>f</literal> = function,
-       <literal>T</literal> = type
+       <literal>T</literal> = type,
+       <literal>n</literal> = schema
       </entry>
      </row>
 
#2Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Fabien COELHO (#1)
Re: pg_default_acl missing 'n' case in doc

On 2018-Jul-30, Fabien COELHO wrote:

While looking at ACL prettyprinting, I noticed that "pg_default_acl"
documentation does not say anything about type 'n' for schema (namespace),
which seems to be supported according to "\ddp" and the catalog code.

Here is a small addition to add that 'n' is allowed for schema.

Thanks, backpatched to 10.

--
�lvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services