Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XCEG2-00007t-CA for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Jul 2014 20:44:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XCEG1-0001oQ-Sc for pgsql-bugs@arkaria.postgresql.org; Tue, 29 Jul 2014 20:44:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XCEG0-0001oJ-Uo for pgsql-bugs@postgresql.org; Tue, 29 Jul 2014 20:44:25 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XCEFx-00058n-Go for pgsql-bugs@postgresql.org; Tue, 29 Jul 2014 20:44:23 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XCEFu-0001UP-VB for pgsql-bugs@postgresql.org; Tue, 29 Jul 2014 13:44:18 -0700 Date: Tue, 29 Jul 2014 13:44:18 -0700 (PDT) From: David G Johnston To: pgsql-bugs@postgresql.org Message-ID: <1406666658960-5813221.post@n5.nabble.com> 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> Subject: Re: BUG #11090: Unclear error message in pg_upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.8 (/) 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 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-tp5813198p5813221.html 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