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 48386a29f92c2b45acfd3b66f9de0e633baaf940..aa7cd61ad9cce4482b53600d34049fb46a9f0ca2 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>