The attached patch modifies initdb to create a default database called 'postgres' when the cluster is initialised. Documentation updates are included, including updates to relevant examples to encourage users to use this database in place of template1. I have not modified utilities like createuser however - this is to ensure there are no dependencies on the postgres database within the server itself, thus giving users with limited disk space the option of removing the postgres database if required.
Please apply for 8.1. Regards, Dave
default-db.patch
Description: default-db.patch
---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend