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 b2c9e241c2f1387f9e45da47feeb0f0a8e3067b0..a3b2e98b467da73dcc54bd7a340d7da4484ebed7 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>