pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: David G Johnston <david.g.johnston@gmail.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #11090: Unclear error message in pg_upgrade
Date: Tue, 29 Jul 2014 17:13:55 -0400
Message-ID: <8105.1406668435@sss.pgh.pa.us> (raw)
In-Reply-To: <20140729210440.GV5475@eldon.alvh.no-ip.org>
References: <20140729174023.16601.48893@wrigleys.postgresql.org>
	<20140729185859.GT5475@eldon.alvh.no-ip.org>
	<53D7FB9C.4090701@hogranch.com>
	<1406666658960-5813221.post@n5.nabble.com>
	<CAMkU=1zDN8mCfXRvLtTyTYuwM6VdCPhVZGMVR3ooxGm-hf9Omw@mail.gmail.com>
	<20140729210440.GV5475@eldon.alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (15+ messages)  latest in thread

Message-ID: <8105.1406668435@sss.pgh.pa.us>
Permalink:  ../8105.1406668435@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8105.1406668435@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, jeff.janes@gmail.com, david.g.johnston@gmail.com
  Subject: Re: BUG #11090: Unclear error message in pg_upgrade
  In-Reply-To: <8105.1406668435@sss.pgh.pa.us>
  References: <20140729174023.16601.48893@wrigleys.postgresql.org> <20140729185859.GT5475@eldon.alvh.no-ip.org> <53D7FB9C.4090701@hogranch.com> <1406666658960-5813221.post@n5.nabble.com> <CAMkU=1zDN8mCfXRvLtTyTYuwM6VdCPhVZGMVR3ooxGm-hf9Omw@mail.gmail.com> <20140729210440.GV5475@eldon.alvh.no-ip.org> <8105.1406668435@sss.pgh.pa.us>

* 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