Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XEKdL-00083Y-G7 for pgsql-bugs@arkaria.postgresql.org; Mon, 04 Aug 2014 15:57:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XEKdK-0004FC-R8 for pgsql-bugs@arkaria.postgresql.org; Mon, 04 Aug 2014 15:57:10 +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 1XEKdK-0004F6-8O for pgsql-bugs@postgresql.org; Mon, 04 Aug 2014 15:57:10 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XEKdG-0007HC-9o for pgsql-bugs@postgresql.org; Mon, 04 Aug 2014 15:57:09 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1XEKdB-0007yC-Qz; Mon, 04 Aug 2014 11:57:01 -0400 Date: Mon, 4 Aug 2014 11:57:01 -0400 From: Bruce Momjian To: Tom Lane Cc: Alvaro Herrera , David G Johnston , pgsql-bugs@postgresql.org Subject: Re: BUG #11090: Unclear error message in pg_upgrade Message-ID: <20140804155701.GC13302@momjian.us> References: <20140729174023.16601.48893@wrigleys.postgresql.org> <20140729185859.GT5475@eldon.alvh.no-ip.org> <1406666444963-5813220.post@n5.nabble.com> <8448.1406669507@sss.pgh.pa.us> <20140730020819.GF2791@momjian.us> <15100.1406687597@sss.pgh.pa.us> <20140730145803.GG2791@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140730145803.GG2791@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) 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 On Wed, Jul 30, 2014 at 10:58:03AM -0400, Bruce Momjian wrote: > OK, I had never made this logical conclusion that it had to be the > install user. Since you can't remove the install user, and the new > cluster can only have one user (the install user), and because we > preserve pg_authid.oid, the old cluster has to be the install user too. > > I have developed the 9.5-only patch which simplifies these checks and > error messages; attached. Patch applied, with doc addition. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs