Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTWX2-0002aP-Sc for pgsql-general@arkaria.postgresql.org; Sun, 23 Aug 2015 14:46:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZTWX2-0002T4-9K for pgsql-general@arkaria.postgresql.org; Sun, 23 Aug 2015 14:46:00 +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) (envelope-from ) id 1ZTWX1-0002SX-B0 for pgsql-general@postgresql.org; Sun, 23 Aug 2015 14:45:59 +0000 Received: from squeakycode.net ([96.126.114.205]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZTWWy-0002tn-5K for pgsql-general@postgresql.org; Sun, 23 Aug 2015 14:45:58 +0000 Received: from [192.168.1.102] (173-18-113-254.client.mchsi.com [173.18.113.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: andy) by squeakycode.net (Postfix) with ESMTPSA id EAC6022988 for ; Sun, 23 Aug 2015 09:45:52 -0500 (CDT) Subject: Re: 9.5 beta pg_upgrade documentation To: pgsql-general@postgresql.org References: <55D789B5.7040308@squeakycode.net> From: Andy Colson Message-ID: <55D9DC9E.8080806@squeakycode.net> Date: Sun, 23 Aug 2015 09:45:50 -0500 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55D789B5.7040308@squeakycode.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org I think we should add a step 6.5 (before step 7 Stop both servers) with something like: If you are upgrading both a primary and standby, then we need to make sure the standby is caught up. If you are wal shipping then on primary run: select pg_switch_xlog(); shut down primary before you shut down the standby make sure it gets caught up to the primary. I don't think its 100% required for them to be exact, is it? If they are a little different then rsync has more data to xfer from primary to standby ... but it would still work. Right? -Andy -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general