Re: pg_upgrade fails for non-postgres user - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_upgrade fails for non-postgres user
Date
Msg-id 12303.1296321100@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_upgrade fails for non-postgres user  (Bernd Helmle <mailings@oopsware.de>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: REVIEW: Determining client_encoding from client locale
Next
From: Peter Eisentraut
Date:
Subject: Re: REVIEW: Determining client_encoding from client locale