Joshua D. Drake wrote:

psql -l; ignores -dtemplate1, and createdb doesn't have such an option.

I can't test createdb here but on the psql... what happens if you just:

psql -Upostgres template1?

It's the '-l' option (list all databases) that does not honor the database given on the command line.

This does not work, if the postgres database is dropped in 8.1:

psql -l template1
psql -l -d template1

of course "psql template1" will just work fine.

Best Regards,
Michael Paesold


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to