From: David G Johnston <david.g.johnston@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #11090: Unclear error message in pg_upgrade
Date: Tue, 29 Jul 2014 13:44:18 -0700 (PDT)
Message-ID: <1406666658960-5813221.post@n5.nabble.com> (raw)
In-Reply-To: <53D7FB9C.4090701@hogranch.com>
References: <20140729174023.16601.48893@wrigleys.postgresql.org>
<20140729185859.GT5475@eldon.alvh.no-ip.org>
<53D7FB9C.4090701@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
John R Pierce wrote
> On 7/29/2014 11:58 AM, Alvaro Herrera wrote:
>>
> brorfred@
> wrote:
>>
>>> >pg_upgrade requires that the old and new database has the same install
>>> >superuser (superuser that ran initdb). If this requirement isn't
>>> fulfilled,
>>> >you'll get the following error:
>>> >
>>> >"Old and new cluster install users have different values for
>>> >pg_authid.oid.\n"
>> To me, the bug is that we required both superusers to be named the same
>> in the first place.
>
> so, if its enhanced with a -U newsuperuser flag, any objects owned by
> 'postgres' on the original cluster are now owned by 'newsuperuser' on
> the new cluster?
Please no. I'm not a pg_upgrade user but this just seems like asking for
trouble. There has been one complaint and while I can see why the user
tried this it is not a very convincing use case. Rewording the error is
sufficient.
David J.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-11090-Unclear-error-message-in-pg-upgrade-tp5813198p5813...
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: david.g.johnston@gmail.com
Subject: Re: BUG #11090: Unclear error message in pg_upgrade
In-Reply-To: <1406666658960-5813221.post@n5.nabble.com>
References: <20140729174023.16601.48893@wrigleys.postgresql.org> <20140729185859.GT5475@eldon.alvh.no-ip.org> <53D7FB9C.4090701@hogranch.com> <1406666658960-5813221.post@n5.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox