Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjFcP-0006y8-S8 for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Jan 2019 03:42:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gjFcN-0002mk-9o for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Jan 2019 03:42:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjFcL-0002mc-Ae for pgsql-hackers@lists.postgresql.org; Tue, 15 Jan 2019 03:42:23 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjFcH-0005iP-K0 for pgsql-hackers@postgresql.org; Tue, 15 Jan 2019 03:42:19 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B7AE8294EC; Mon, 14 Jan 2019 22:42:16 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 14 Jan 2019 22:42:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=JI2fdXdoCh2rVcNqijMf1km2d3P XWhAdJVxpim7lf3w=; b=reJNcZH3VWGCHPGC8SAb/hCtvgNGqVggkcEkpcp6/+M +M39CVfnhpddAtONN8G+rrLFBLgtpd+c1Vz/Hybq699TE2l58fXMvN96zN8z+SER AaGAxcqmGlQqNBKsOu/ixANWakYoxDAUtsDKuGcwzIc5D8XY6NYFmSrkJKbz3XOz mvJydU446Vvjosux4PaDoOKhbdq/v1DlF/YWzdsxeWwPraaDEj3yXTEp9hO1iMdQ dpK2oc6C18nop+msRcL8MbqHDDm8k23mzd4DWccQDxBXv3G3hYhNYz0J4hhOs4/k GWRHBs3Gf5gYlJBuRkwVVqJoP9ghSZk6WuhDFerrx3w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=JI2fdX doCh2rVcNqijMf1km2d3PXWhAdJVxpim7lf3w=; b=RiVnq+zOaPyGsNmqAlIo2I qmrNeGENwYZhWhs6wjzVRRkdfrg45xn0QpksXDpe4gLUM3fhFTv6LLszFilfqGgG Z3PI/PCzq3/ZQynUAk1XBEBo1qGhIXTNL1tHxM95c0SZoiCwGFHKzZ1pD2BDEdcK GFsmQayZEwIOGMZHfhufU0ueCY2gjQKnrWyoRx34iVE9F7lrDl3S3kXcCIWesQYz Ty+FayG7qAfDCWXlrz/Y8Nldqwop+csXugsa4mQk7hp9PRGVScoL7TbrZpOJF7Qs ZSISU2HPjD7RVXU1zKxbrVw0aZqUtQ+jlnZFFocxh/MNGK0OVqY6f8Q6WHjKBFig == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgedvgdeiudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdljedtmd enucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghh rggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenuc fkphepiedurddvudehrddufeejrdduiedvnecurfgrrhgrmhepmhgrihhlfhhrohhmpehm ihgthhgrvghlsehprghquhhivghrrdighiiinecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 858E610087; Mon, 14 Jan 2019 22:42:13 -0500 (EST) Date: Tue, 15 Jan 2019 12:42:10 +0900 From: Michael Paquier To: Peter Eisentraut Cc: David Steele , Sergei Kornilov , pgsql-hackers Subject: Re: could recovery_target_timeline=latest be the default in standby mode? Message-ID: <20190115034210.GD1433@paquier.xyz> References: <20181221233819.GE1948@paquier.xyz> <249bd41d-0385-3038-4394-a42f00e1a045@2ndquadrant.com> <6759b48b-5623-b917-0bc8-c4402a3ca338@pgmasters.net> <20181227231514.GD2196@paquier.xyz> <1c55a6a2-f7fa-4a4a-f90b-60fc5315d781@pgmasters.net> <20190108033750.GJ22498@paquier.xyz> <3b5bf434-9e29-4f19-914e-219d0af92422@2ndquadrant.com> <20190111235312.GA26022@paquier.xyz> <4a639766-4681-99d5-0e73-f2a93a63e7a1@2ndquadrant.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9UV9rz0O2dU/yYYn" Content-Disposition: inline In-Reply-To: <4a639766-4681-99d5-0e73-f2a93a63e7a1@2ndquadrant.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --9UV9rz0O2dU/yYYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Jan 13, 2019 at 10:17:32AM +0100, Peter Eisentraut wrote: > I'm not sure what the coverage is in detail in this area. It seems we > already have tests for not-specific-recovery-target, maybe not in this > file, but most of the other tests rely on that, no? [... Checking ...] There are no tests on HEAD using directly recovery_target_timeline in any .pl or .pm file, which is definitely not a good idea. 004_timeline_switch.pl is actually designed for checking the latest timeline, which is fine. 002_archiving.pl somewhat tests for the current timeline, still it is not really designed for this purpose. -- Michael --9UV9rz0O2dU/yYYn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlw9VpIACgkQnvQgOdby QH1yLg//cOIHZTraUbNdGzJ2i4Ic7oG+AX7EmJvFhaDhXI3QuygDnFAo+j5Qt4F4 1CzpxoAIcIWZPoqN3Alp61CIVJ8z3kjEjUH8kBwKZO1NaaV44+J3kfHgAWIbV9l+ KCsGYdcxw1LLV5PrNjM8498LufT/puVCpN6swvjyQzWvrTe5aBxDehj9Pi8ZnrcM 6VH+0oWVZZ3E+Li2iqSmQNuyZygBDOQ4JGEivDT9f3e5LlO2PfuKIJ/+FoVsuLDK Hc1ccDHRlPWu6qWM0RAGzcBBrPwWqSAQXTWIDrPZcUsey1AbzS+Zj/6UurRylJ6x NZDyrmHaICXwxf+X28H4vWq75u3RVcQ42Yg65uGVoEhhZ7xom4+LykuzCF/MctET dgnJG//QEdHYcGe14qSqzksVpi3CWBuDLUnwMwr1NW/1MI3vhQq/eQLKsaEwhYTy EIRUwVIda/URVN6vf7GM5iX5rliKJpdSLnQmBkwILMc1tCNtV8lThiJrU672BSae qNj4yAlAKnnom58+rASWQl4nlcTQVJmcV79PmOgnIU8V/jdLZiz3H9mcNTz8nPFk Bxy77DetbvoxlXxS9QrpdM7ILBUY0KNjB9uqk2NjvdqjtifXZxKSwWl9xs9lmmsK qA/VRlBjmauhdAsTNdv0hoTH9IV7zwhtoSxJ9ooYfQ5UzwJ2CJw= =gWrf -----END PGP SIGNATURE----- --9UV9rz0O2dU/yYYn--