Skip to content

Commit 54af107

Browse files
committed
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
1 parent 3f9fe9b commit 54af107

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/src/sgml/manage-ag.sgml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,12 @@ createdb -O <replaceable>rolename</replaceable> <replaceable>dbname</replaceable
207207
action being taken when those databases are created.
208208
</para>
209209

210+
<para>
211+
However, <command>CREATE DATABASE</command> does not copy database-level
212+
<command>GRANT</command> permissions attached to the source database.
213+
The new database has default database-level permissions.
214+
</para>
215+
210216
<para>
211217
There is a second standard system database named
212218
<literal>template0</literal>.<indexterm><primary>template0</primary></indexterm> This

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy