Bernd Helmle <mailings@oopsware.de> writes:
> --On 28. Januar 2011 14:49:21 -0800 Josh Berkus <josh@agliodbs.com> wrote:
>> The database "postgres" is
>> reasonably likely to be dropped, whereas template1 doesn't get touched
>> usually.
> This is true for a bunch of installations i know. Maybe it's worth to make
> it a command line switch to override the default behavior, too.
You're both forgetting that the new DB is freshly initdb'd. It is
certain to contain a postgres database.
regards, tom lane