Re: BUG #11090: Unclear error message in pg_upgrade - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #11090: Unclear error message in pg_upgrade
Date
Msg-id 8105.1406668435@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #11090: Unclear error message in pg_upgrade  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: BUG #11090: Unclear error message in pg_upgrade  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-bugs
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Jeff Janes wrote:
>> I have one database with a retrospectively poor choice of initdb -U.  I
>> certainly wish there was a way, short of dump and restore, to change the
>> name of that user.  Although I don't think pg_upgrade would be the ideal
>> way to do that.

> Have you tried an UPDATE pg_authid?

Or even just ALTER USER RENAME?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #11090: Unclear error message in pg_upgrade
Next
From: Tom Lane
Date:
Subject: Re: BUG #11090: Unclear error message in pg_upgrade