docs: clarify that CREATE DATABASE does not copy db permissions
authorBruce Momjian <[email protected]>
Thu, 25 Jun 2020 22:22:44 +0000 (18:22 -0400)
committerBruce Momjian <[email protected]>
Thu, 25 Jun 2020 22:22:44 +0000 (18:22 -0400)
That is, those database permissions set by GRANT.

Diagnosed-by: Joseph Nahmias
Discussion: https://postgr.es/m/20200614072613[email protected]

Backpatch-through: 9.5

doc/src/sgml/ref/create_database.sgml

index cf33746c1e23c96f0b6e875400927c93a96ba03d..7ae16df0e877b25c2205af551b33834b50cb8233 100644 (file)
@@ -213,8 +213,8 @@ CREATE DATABASE <replaceable class="PARAMETER">name</replaceable>
 
    <para>
     Database-level configuration parameters (set via <xref
-    linkend="sql-alterdatabase">) are not copied from the template
-    database.
+    linkend="sql-alterdatabase">) and database-level permissions (set via
+    <xref linkend="sql-grant">) are not copied from the template database.
    </para>
 
   <para>