mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
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
This commit is contained in:
parent
9d4ea0bb3f
commit
d5b1045e67
@ -213,6 +213,12 @@ createdb -O <replaceable>rolename</replaceable> <replaceable>dbname</replaceable
|
|||||||
action being taken when those databases are created.
|
action being taken when those databases are created.
|
||||||
</para>
|
</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>
|
<para>
|
||||||
There is a second standard system database named
|
There is a second standard system database named
|
||||||
<literal>template0</literal>.<indexterm><primary>template0</primary></indexterm> This
|
<literal>template0</literal>.<indexterm><primary>template0</primary></indexterm> This
|
||||||
|
Loading…
x
Reference in New Issue
Block a user