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 1gDWWy-0007Ge-EG for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Oct 2018 15:17: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 1gDWWv-0004ZM-OL for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Oct 2018 15:17:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gDWWv-0004ZF-Ds for pgsql-hackers@lists.postgresql.org; Fri, 19 Oct 2018 15:17:37 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gDWWs-0001Le-5B for pgsql-hackers@postgresql.org; Fri, 19 Oct 2018 15:17:35 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 4CD965F79C; Fri, 19 Oct 2018 11:17:32 -0400 (EDT) Date: Fri, 19 Oct 2018 11:17:32 -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: <20181019151732.GL4184@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> <20181019145714.GK4184@tamriel.snowman.net> <1845.1539961451@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="q0tlUia1Z6yZXcFj" Content-Disposition: inline In-Reply-To: <1845.1539961451@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 --q0tlUia1Z6yZXcFj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Stephen Frost writes: > > * Tom Lane (tgl@sss.pgh.pa.us) wrote: > >> Seems like a job for a new(?) module in src/common/. >=20 > > 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. >=20 > We install libpgcommon.a (and, as of HEAD, libpgcommon_shlib.a) for > precisely that sort of reason. Hmm, yeah, we might be able to use that for this.. One challenge we've been thinking about has been dealing with multiple major versions of PG with one build of pgbackrest since we'd really like to do things like inspect the control file, but that changes between versions. We do have multi-version code in some places (quite a bit in pg_dump..) so perhaps we could have libpgcommon support also. Probably a topic for another thread. Thanks! Stephen --q0tlUia1Z6yZXcFj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJbyfWLAAoJEO1sijiDR2RV9U4P/28iNlefHS5ISje0/pO551dL b2QjOdGsXOks0F+DzqDkGGLHCWh9I9tCOSiLFj1e73mSr7k8GT3H70ysE9iFYMbr qPxwH/N8oF2W67esW/A2F0tTD+c92jqqtCaCMh6+gcaql6qyUXq0e2vGg1qwMjeq K70/b0Vc/gR2TszVlWe4+JfC0lZ5Awm1G7C+6ilH8/n4dFIdlNKabsfYFPuDKMru bGqdOMWMSPDQc69rinpwVRQlEBuBIbXD/RCNI+e2YrVAqMN3AQqdFnz30zFy7Bkq ORAueNOHgu0tBqEblW2Vn64dWIAiwdngTZ8Hz1JmTCqBtXApyVnROYBg6luf7ywL dk6ENRF6pxrC0ImLN4RZOPA7FvtzHDlPy/5/o3M/tD5YeBIX+FayIEtUFjSImxso aWZ8M4sk8h7PNOvLwUBPRFU/YTz/gpiWJJEDx9Mbtk6W2JVc71OdhLHlBbL80jY5 gQsDxG8QhivjD6xoSw+sW6jWQZck/FxKndQFHBS8eB53BNjvau5nD1zP69Rq8Slg vxQ2EYliyc9uRV28F63hlwg3/e+USUbJ7W5YXaACDma5SzbyJDVtTy51JYPke+Qu fAzgJt6K7d6YhW5x2/cn0HqiVXCbxBs9YQWeTDy4GCvfqFDkbkEdCFt4+bFqcp/p XtQuiW9deLo/hNr2V/4X =hyEl -----END PGP SIGNATURE----- --q0tlUia1Z6yZXcFj--