The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/14/manage-ag-templatedbs.html Description:
The documentation for creating databases from templates is incomplete, and should mention that access privileges are not copied. So, for example, issuing: create database newdb with template existingdb owner someuser; results in the newly-created database lacking the access privileges that exist in the template. cf: https://www.postgresql.org/docs/13/manage-ag-templatedbs.html