Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XCEik-0001sc-Vp for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Jul 2014 21:14:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XCEij-00074S-PP for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Jul 2014 21:14:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XCEii-00074G-NA for pgsql-bugs@postgresql.org; Tue, 29 Jul 2014 21:14:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XCEif-00044L-JF for pgsql-bugs@postgresql.org; Tue, 29 Jul 2014 21:14:02 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s6TLDtQ0008106; Tue, 29 Jul 2014 17:13:55 -0400 From: Tom Lane To: Alvaro Herrera cc: Jeff Janes , David G Johnston , Pg Bugs Subject: Re: BUG #11090: Unclear error message in pg_upgrade 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> <20140729210440.GV5475@eldon.alvh.no-ip.org> Comments: In-reply-to Alvaro Herrera message dated "Tue, 29 Jul 2014 17:04:40 -0400" Date: Tue, 29 Jul 2014 17:13:55 -0400 Message-ID: <8105.1406668435@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Alvaro Herrera 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