pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Banck <michael.banck@credativ.de>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Postgres hackers <pgsql-hackers@postgresql.org>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: Magnus Hagander <magnus@hagander.net>
Subject: Re: pgsql: Add TAP tests for pg_verify_checksums
Date: Fri, 19 Oct 2018 11:17:32 -0400
Message-ID: <20181019151732.GL4184@tamriel.snowman.net> (raw)
In-Reply-To: <1845.1539961451@sss.pgh.pa.us>
References: <11414.1539615900@sss.pgh.pa.us>
	<fda83b85-67f4-e172-c327-19ce0d47d74b@2ndQuadrant.com>
	<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>

Greetings,

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Stephen Frost <sfrost@snowman.net> writes:
> > * Tom Lane (tgl@sss.pgh.pa.us) wrote:
> >> 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.
> 
> 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

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (76+ messages)  latest in thread

Message-ID: <20181019151732.GL4184@tamriel.snowman.net>
Permalink:  ../20181019151732.GL4184@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20181019151732.GL4184@tamriel.snowman.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: sfrost@snowman.net, tgl@sss.pgh.pa.us, michael.banck@credativ.de, michael@paquier.xyz, andrew.dunstan@2ndquadrant.com, andres@anarazel.de, pgsql-hackers@postgresql.org, daniel@yesql.se, magnus@hagander.net
  Subject: Re: pgsql: Add TAP tests for pg_verify_checksums
  In-Reply-To: <20181019151732.GL4184@tamriel.snowman.net>
  References: <11414.1539615900@sss.pgh.pa.us> <fda83b85-67f4-e172-c327-19ce0d47d74b@2ndQuadrant.com> <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> <20181019151732.GL4184@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox