Re: pg_upgrade fails for non-postgres user
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bernd Helmle <mailings@oopsware.de>
Cc: Josh Berkus <josh@agliodbs.com>, Magnus Hagander <magnus@hagander.net>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2011-01-29T17:11:40Z
Lists: 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