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 1gDWDJ-0006C4-6M for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Oct 2018 14:57:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gDWDH-0006Y5-EE for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Oct 2018 14:57:19 +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 1gDWDH-0006Xy-75 for pgsql-hackers@lists.postgresql.org; Fri, 19 Oct 2018 14:57:19 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gDWDE-0000c2-Qh for pgsql-hackers@postgresql.org; Fri, 19 Oct 2018 14:57:18 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 7873B5F79C; Fri, 19 Oct 2018 10:57:14 -0400 (EDT) Date: Fri, 19 Oct 2018 10:57:14 -0400 From: Stephen Frost To: Tom Lane Cc: Michael Banck , Michael Paquier , Andrew Dunstan , Andres Freund , Postgres hackers , Daniel Gustafsson , Magnus Hagander Subject: Re: pgsql: Add TAP tests for pg_verify_checksums Message-ID: <20181019145714.GK4184@tamriel.snowman.net> References: <11414.1539615900@sss.pgh.pa.us> <20181016220900.GA2331@paquier.xyz> <61121849-19c2-ca27-a928-08aacc0f1105@2ndQuadrant.com> <20181019135009.GG2099@paquier.xyz> <20181019143659.GJ4184@tamriel.snowman.net> <1539960209.22872.19.camel@credativ.de> <1307.1539960789@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nMrrdx0aXOyLuBN4" Content-Disposition: inline In-Reply-To: <1307.1539960789@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --nMrrdx0aXOyLuBN4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Michael Banck writes: > > Am Freitag, den 19.10.2018, 10:36 -0400 schrieb Stephen Frost: > >> I just saw this committed and I'm trying to figure out why we are > >> creating yet-another-list when it comes to deciding what should be > >> checksum'd and what shouldn't be. >=20 > > To be fair, the list in src/backend/replication/basebackup.c was a copy- > > paste from the one in pg_verify_checksums (or from other parts of the= =20 > > online activation patch). >=20 > Seems like a job for a new(?) module in src/common/. Yeah, that would be nice... Even nicer would be a way for non-core PG tools to be able to use it (we have basically the same thing in pgbackrest, unsurprisingly), though I realize that's a much larger step. Thanks! Stephen --nMrrdx0aXOyLuBN4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJbyfDKAAoJEO1sijiDR2RVSEcP/iOtR6aSoGnYDVoWEe2AUlRg booWWp2A5aqdUvwPjzKAIYDeM0Wo3HSI43BBzSbPRahm+saPL/Lpipe5VCv1su7C u6FHkgSF13V5+ZW1xRF2s/ZIBwjDXAVnXm0svFtJd8+bgmzfj2B1c2lqYryr0Yd9 Yp7wlTUmloKp2Jly1hA6sGc8tjcls5ivEV94TtNC5PHlcweTn/OvSeDcbxF2cOHk UAY6uApv61JBK+2kk1xnEncAKfFw3toiq6vUYPv52hYTeGza+gcs6T87Y5tHKBZt 5joYPj2IVBtTF3a4wIftJCZudlXABGSDtQa+bb72mR2KGUN33RuKIHGwo2Fz1/DH 5r8sawyiYTI3lMFwQ6M10jjJlmnubMNQWyS1mL6pPICmcTjlP6Z8TqMEqNAEEmJZ UnJfMZGI1ljAEW1Dm3gpC/C6j2aR80lBCIbItoYD//Sa54KVwUJWCscItoi8cyDx oRojyitp0YuPPhrTts1zPFS95lg3jxJ8XxbjXg3VuVmxJeWxQ25FGwAh3MOBF0S8 UN7uVf9yIky69cgntNalyAuK1IM/HuupuAXuifhhhPO1g1OyQqZMFzTItYpoiLW6 O0dvQ0isiMuZzPA2aNk6Ns/AcIhGmiCbNLQMpdozjOHvM8YGreR5slfXUqKD/ZSN OWiYMhGTnLmk4RRPuiWp =kibI -----END PGP SIGNATURE----- --nMrrdx0aXOyLuBN4--