Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0ESf-0003OC-E5 for pgsql-admin@arkaria.postgresql.org; Tue, 10 May 2016 20:40:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b0ESe-00075x-Tt for pgsql-admin@arkaria.postgresql.org; Tue, 10 May 2016 20:40:56 +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 1b0EQy-0005A8-Lf for pgsql-admin@postgresql.org; Tue, 10 May 2016 20:39:12 +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 1b0EQq-0002ES-T2 for pgsql-admin@postgresql.org; Tue, 10 May 2016 20:39:12 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1b0EQn-0004IT-9A; Tue, 10 May 2016 16:39:01 -0400 Date: Tue, 10 May 2016 16:39:01 -0400 From: Bruce Momjian To: Guillaume Lelarge Cc: Vicky Soni - Quipment India , "pgsql-admin@postgresql.org" Subject: Re: Major Version Upgradation in Replication Environment Message-ID: <20160510203901.GB22757@momjian.us> References: <77592492c52d46ccbbe7e79b448da317@Strand.quipment.local> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -4.0 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Thu, May 5, 2016 at 03:59:00PM +0200, Guillaume Lelarge wrote: > 2016-05-05 11:48 GMT+02:00 Vicky Soni - Quipment India > : > > > Hello Friends, > >   > >                         We have a windows setup where we have 2 node > primary-slave setup which comprises Async Replication + Log Shippin on slave. > >   > > Now we want to upgrade it from 9.3 to 9.4 version. > >   > > Do we need to upgrade slave to 9.4, upgrade master to 9.4 and setup replication > again from scratch? > >   > > > > Just upgrade master to 9.4, install 9.4 on slave, and setup replication again. >   > > What are the best possible ways available to upgrade slave and master without > setting up replication again? > > > > You can't. Actually, the 9.5 pg_upgrade docs have in insructions on how upgrade a slave without recreating the slave image, and it works back to 9.1: http://www.postgresql.org/docs/9.5/static/pgupgrade.html Upgrade Streaming Replication and Log-Shipping standby servers -- 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-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin