Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dry0h-00035C-7v for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Sep 2017 03:06:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dry0g-00008t-S0 for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Sep 2017 03:06:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dry0f-0008VL-MJ for pgsql-hackers@postgresql.org; Wed, 13 Sep 2017 03:06:41 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dry0c-0000TN-8D for pgsql-hackers@postgresql.org; Wed, 13 Sep 2017 03:06:41 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1dry0W-0007Wb-SM; Tue, 12 Sep 2017 23:06:32 -0400 Date: Tue, 12 Sep 2017 23:06:32 -0400 From: Bruce Momjian To: Stephen Frost Cc: Andreas Joseph Krogh , Michael Paquier , Robert Haas , "pgsql-hackers@postgresql.org" Subject: Re: Clarification in pg10's pgupgrade.html step 10 (upgrading standby servers) Message-ID: <20170913030632.GF6766@momjian.us> References: <20170912233840.GS4628@tamriel.snowman.net> <20170912235415.GT4628@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170912235415.GT4628@tamriel.snowman.net> User-Agent: Mutt/1.5.23 (2014-03-12) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Tue, Sep 12, 2017 at 07:54:15PM -0400, Stephen Frost wrote: > Andreas, > > * Andreas Joseph Krogh (andreas@visena.com) wrote: > > I have to ask; Why not run pg_upgrade on standby, after verifying that it's in > > sync with primary and promoting it to primary if necessary and then making it > > standby again after pg_upgrade is finished? > > I don't think that we could be guaranteed that the catalog tables would > be the same on the replica as on the primary if they were actually > created by pg_upgrade. FYI, the other problem is that standby can't go into write mode or it would diverge from the primary. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers