Re: BUG #11090: Unclear error message in pg_upgrade

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #11090: Unclear error message in pg_upgrade
Date: 2014-07-29 19:53:00
Message-ID: 53D7FB9C.4090701@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 7/29/2014 11:58 AM, Alvaro Herrera wrote:
> brorfred(at)gmail(dot)com 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?

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G Johnston 2014-07-29 20:40:45 Re: BUG #11090: Unclear error message in pg_upgrade
Previous Message Alvaro Herrera 2014-07-29 18:58:59 Re: BUG #11090: Unclear error message in pg_upgrade