mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-29 22:49:41 +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:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user