Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDjLU-00024o-Ad for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Oct 2018 04:58:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gDjLS-00029K-KN for pgsql-hackers@arkaria.postgresql.org; Sat, 20 Oct 2018 04:58:38 +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.89) (envelope-from ) id 1gDjLS-00029D-D3 for pgsql-hackers@lists.postgresql.org; Sat, 20 Oct 2018 04:58:38 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDjLN-0002mH-TR for pgsql-hackers@postgresql.org; Sat, 20 Oct 2018 04:58:38 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 331AFCA9; Sat, 20 Oct 2018 00:58:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 20 Oct 2018 00:58:31 -0400 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=wPTLwB98tDKEeGzcMJE8l2EUv+l DYVgiX3nd+V8izVs=; b=xIZe2XvbLAxKOsWnhXPPhhCXcbFSu17PXkW+rOMzZQW Ljee0Dz8ugpsSTx0NXI4Ok0tnz/0qEzEXlkiEdZdVkojzlNI48HoWe1H5VKo6Hgr rFWfRfzAsHdM/0oaFwZx92evMiceKQdSO1OsmgnITSj0QiYD2yFZk+019aEoiJCn 23HgCX8OKyV0RelyybAX8ZnN05PEYPOlR/qKOu8k7504Qlyv8gMzYwcwjr1+v0TX hZOaaVkyGDdujhIvpkOlAET2J1zR/sQnn6cq3U/NDc20fbgaEirFz4GRscjjABqq cPZtQqlbY40gmaI48ROdSc8tQVvONiIZ71Yy/E6SfcQ== 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=wPTLwB 98tDKEeGzcMJE8l2EUv+lDYVgiX3nd+V8izVs=; b=ue4jakeA/xA0NhqGWi0aqm /0xUZ+tpy/JhVbQ+IQrfqsZ5U6H5TxEftR0O5bOfj7v6UutChzjGp++PZCt7CucQ jou+R/MmNUqulv9taZ6iw+mobNzV75RVPYdlNMFb5x9i+3poY9xHGJrdv8HjvENv id11DyJJRWnkNS/OLEwCCGwqHIrcjxRIiqywTzQ2I6x1t7VrjRTuMNGIQ+Pl2wVC 58jNSglQOGBrQn4EYzn3uazHDslyJtFepHqsxdF0xtRYmyj+8HvBcjPROijW23y/ N7tgEXDtkMIE/3bp4sx0BWZkkSxUG2VBHxHT2IRCIz0g7h9nxLjiVJRN2T7QSn7Q == X-ME-Sender: X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 9A9A1102DD; Sat, 20 Oct 2018 00:58:26 -0400 (EDT) Date: Sat, 20 Oct 2018 13:58:23 +0900 From: Michael Paquier To: Stephen Frost Cc: Andres Freund , Andrew Dunstan , Daniel Gustafsson , Magnus Hagander , Michael Banck , Postgres hackers , Tom Lane Subject: Re: pgsql: Add TAP tests for pg_verify_checksums Message-ID: <20181020045823.GA19190@paquier.xyz> References: <20181019200723.4byzaw5km5jvsxlc@alap3.anarazel.de> <20181019203546.GR4184@tamriel.snowman.net> <20181019205724.ewnuhvrsanacihzq@alap3.anarazel.de> <20181019213257.GS4184@tamriel.snowman.net> <16306.1539988998@sss.pgh.pa.us> <20181020033955.GA2553@paquier.xyz> <20181020035004.7brmu7pkajlbdsp5@alap3.anarazel.de> <20181020043046.GC2553@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 20, 2018 at 12:41:04AM -0400, Stephen Frost wrote: > I=E2=80=99d also like to give David Steele a chance to comment on the spe= cific API, > and any other backup tools authors, which I don=E2=80=99t think we should= be > rushing into anyway and I would think we=E2=80=99d only put into master.. By the way, we need to do something for the checksum verification code in base backups for v11 as well. If you enable checksums and take a base backup of a build with EXEC_BACKEND, then this creates spurious checksums failures. That's a bug. So while I agree that having a larger robust API is fine for HEAD, I would most likely not back-patch it. This is why I would suggest as a first step for HEAD and v11 to use a whitelist for base backups, to check for temporary tablespaces in pg_verify_checksums, to move isRelFileName into src/common/ and to keep the change minimalistic. -- Michael --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlvKte8ACgkQnvQgOdby QH0bqQ/9GVjieK4M3f68wf6UpUqh3oqbi73T3ptnyYnzZKwJADQqaijkSawcICXE F6/RmgBGLdlMy+1jruaWq5L7CNs6nuf6exnBdWIubHiTQtldJgN2qHeca6CglGKR PnJT52Gbi3vNN0LRpGVEO1FMs9BWdE/LEQE1fX7ZocywBsRtqDKTWfHUwTna5wbs YGiNemyMgq8/Ma45Kop7xtoDrb8dpx95f435vitllwQH7R8krw6bAoyfbh6ZbYJs VLZiDRCTahQf8UG1J1Edqi0tV+ERnFCs8dIdqCbv0BCVK6ADY9vm1R8Jxj8Kvr2J s5kxLkJAz6Q6ExAXbgfUExFkF9ZOxpYl5N18oaHBc5zg8fjkM0+oA9AytOFmg45w SJGAQdxiGqy3FaVRELBTwtQIXCT/leRDhqjp8YjH8B0Gm/KcjluTNIFw/a0WXMDc k762u7Rh8p+eVuTT6Tfija5G1sQwJdVqSDePU/lLD/98L6yCo5SSntXsGE19aGFR EznqSxLMS2dCQRdzag/UG9UDzy9qp6ytYIhO2PecWsr771frPuWnVKlnKBt30MCZ OFni6Jm3C95KP6NmtD1PRi81tlO472GGCj0hzcXxpXh1wzZBqBJNSGFjcAaaKEhT PkZxVXZvj0ywSwIqRDXKSr7NMykFkrqauYpc/LJuksKmSprOsPE= =bR0N -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--