postgres.git / summary / log / commit / refs

commit    e29f8e7535f4bb68e30de8066e6aba460d0f072c
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Fri Nov 03 17:39:50 2023 +0000

    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 74055a47065..116e5e88506 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: f9280e77ecf4]