Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zoyl0-0000iF-P3 for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Oct 2015 19:09:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zoyl0-0005uM-8I for pgsql-bugs@arkaria.postgresql.org; Wed, 21 Oct 2015 19:09:06 +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 1ZoykO-00053N-5m for pgsql-bugs@postgresql.org; Wed, 21 Oct 2015 19:08:28 +0000 Received: from mout.gmx.net ([212.227.15.18]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1ZoykL-0003V3-HO for pgsql-bugs@postgresql.org; Wed, 21 Oct 2015 19:08:27 +0000 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M9Jss-1Zgho03jpu-00CiHZ for ; Wed, 21 Oct 2015 21:08:23 +0200 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 53489202D2 for ; Wed, 21 Oct 2015 15:08:21 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Wed, 21 Oct 2015 15:08:21 -0400 X-Sasl-enc: d/1UCiIRJrtq5BHd345dOnUt00HLW1N07F1XhnMgTjpt 1445454501 Received: from [192.168.1.59] (unknown [204.145.120.11]) by mail.messagingengine.com (Postfix) with ESMTPA id 180A86800E1; Wed, 21 Oct 2015 15:08:21 -0400 (EDT) Subject: Re: pg_rewind exiting with error code 1 when source and target are on the same timeline To: Michael Paquier , PostgreSQL mailing lists References: Cc: Heikki Linnakangas From: Peter Eisentraut Message-ID: <5627E2A4.4000402@gmx.net> Date: Wed, 21 Oct 2015 15:08:20 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:p9u3wTL6+mRHZJVydbHyCOtcw6Z+4aZ39fMGm3MDmxajtkdfRXY fMZttSe636439sftDZDbuItpf+HPdfT0fw/NiJt/nrTM9gJaD/swFLnRoKnId0RjhfUDRmL JzaBXzklatoCdASSDEpSsjrdr2S6zstNBdh1E9fKF5fWWGZFsQGaYt+Vk1n9uASqGpA8FU0 qWLIWzgEUt++cd6cLGScA== X-UI-Out-Filterresults: notjunk:1;V01:K0:MV1ygNvttDk=:1LLeD1nueZVAl56swGsmcb rM4zI1wS0hIZTxc1R9JyjvXQ6NuHD8RXaEAKMiWRU4pR7XH7BmvcBcNu0Nuv9yBdxF0Vr1c6k 9mYVsqhPpKKG/UZZURbbLgNwqpBsq4DrwLeEswKY8U6/dshfaqRbg5/5x7T3Y8ti1fYl8azU9 IJ+1EqD6nYx7kalGfPaM2AjjjEvhOHThGsbhArv+y8AJ7kYIUWnu0vI3cp5h2lFY7RApJW7TN +/k0hMObXP5/nB9gP7SWYMIuvwVaNSCdUCqy5TCaE3WaxLpyHPvEzZEtLhqj70/BghJeCGOqP tVP3m2+rh96U2tWm3oSSP36XakJmjfPO7rlKH0tbPswF4mrAUSZr+fOCwPGpyfZ7l8h7vw/oa 7FA8WkCEIg6BJCD8JrpznATd+6Z7m59vCR5xcHhWzGxpUYGAkC6ESD9eBmcaT2yKX5RYxZqYl ExX0JW8FA/bHYV5pU4AZ2s4ZcjydJAGhOVLuk2Dt+LWcry+XPFVaVfvQzo0ADwDhgdJsj8SWC Lm6m2WgIbmDjtLGztmV98Jq5j246MdktZL0qySET5zPnog11fNM4Bjk/Ukzoux3Sq3SR+Ofhm wPK2zEuZKa7AnfF1O/yDqN+kf6bBqAZyAaUSZaCSiX7vltUHex1U4EkK9bnaXWaRgAHXM6FEl atIk0OpKYHpyIlpZeMRIs/bbQfdRc6wD+pNFrK5xJD2p/CUV2jQrKTOF+dRAclsPfUy3qa19A R6FAWWIKC0SeTfucdeNfPckcklyq8N3nTpDS87QaPqW+LDQA3beaUbZPk3Fkod3V8OBW87HIh S+UfkeZ 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 10/20/15 9:31 PM, Michael Paquier wrote: > I have been pinged internally by a user by the fact that pg_rewind > returns 1 as exit code if the target and source nodes are on the same > timeline. I agree that that should not be an error. But I think in that case we should just delete that check and have the subsequent checks end up at the existing "no rewind required" result. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs