postgres.git / summary / log / commit / refs

commit    54af107cb119fb635c912362a425242bccffb485
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Fri Nov 03 17:39:50 2023 +0000
First released in: 17.0, 11.22, 12.17, 13.13, 14.10, 15.5, 16.1

    doc: CREATE DATABASE doesn't copy db-level perms. from template
    
    Reported-by: david@kapitaltrading.com
    
    Discussion: https://postgr.es/m/166007719137.995877.13951579839074751714@wrigleys.postgresql.org
    
    Backpatch-through: 11


doc/src/sgml/manage-ag.sgml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/src/sgml/manage-ag.sgml b/doc/src/sgml/manage-ag.sgml index 9eb864d7429..7f29298e436 100644 --- a/doc/src/sgml/manage-ag.sgml +++ b/doc/src/sgml/manage-ag.sgml @@ -207,6 +207,12 @@ createdb -O <replaceable>rolename</replaceable> <replaceable>dbname</replaceable action being taken when those databases are created. </para> + <para> + However, <command>CREATE DATABASE</command> does not copy database-level + <command>GRANT</command> permissions attached to the source database. + The new database has default database-level permissions. + </para> + <para> There is a second standard system database named <literal>template0</literal>.<indexterm><primary>template0</primary></indexterm> This [parent: 3f9fe9b76f90]