pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Stephen Frost <sfrost@snowman.net>
Cc: Andres Freund <andres@anarazel.de>
Cc: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Michael Banck <michael.banck@credativ.de>
Cc: Postgres hackers <pgsql-hackers@postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: pgsql: Add TAP tests for pg_verify_checksums
Date: Sat, 20 Oct 2018 13:58:23 +0900
Message-ID: <20181020045823.GA19190@paquier.xyz> (raw)
In-Reply-To: <CAOuzzgqbH0X_JX47gDMU76eA3x_U9TyGx7=E-=6o36Vx6bzq8g@mail.gmail.com>
References: <20181019200723.4byzaw5km5jvsxlc@alap3.anarazel.de>
	<20181019203546.GR4184@tamriel.snowman.net>
	<20181019205724.ewnuhvrsanacihzq@alap3.anarazel.de>
	<20181019213257.GS4184@tamriel.snowman.net>
	<d38afe14-dc13-1e94-7adf-449c330a6fcb@2ndQuadrant.com>
	<16306.1539988998@sss.pgh.pa.us>
	<20181020033955.GA2553@paquier.xyz>
	<20181020035004.7brmu7pkajlbdsp5@alap3.anarazel.de>
	<20181020043046.GC2553@paquier.xyz>
	<CAOuzzgqbH0X_JX47gDMU76eA3x_U9TyGx7=E-=6o36Vx6bzq8g@mail.gmail.com>

On Sat, Oct 20, 2018 at 12:41:04AM -0400, Stephen Frost wrote:
> I’d also like to give David Steele a chance to comment on the specific API,
> and any other backup tools authors, which I don’t think we should be
> rushing into anyway and I would think we’d 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

Attachments:

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

view thread (76+ messages)  latest in thread

Message-ID: <20181020045823.GA19190@paquier.xyz>
Permalink:  ../20181020045823.GA19190@paquier.xyz/
Also on:    postgresql.org/message-id/20181020045823.GA19190@paquier.xyz

 · 

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: michael@paquier.xyz, sfrost@snowman.net, andres@anarazel.de, andrew.dunstan@2ndquadrant.com, daniel@yesql.se, magnus@hagander.net, michael.banck@credativ.de, pgsql-hackers@postgresql.org, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Add TAP tests for pg_verify_checksums
  In-Reply-To: <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> <d38afe14-dc13-1e94-7adf-449c330a6fcb@2ndQuadrant.com> <16306.1539988998@sss.pgh.pa.us> <20181020033955.GA2553@paquier.xyz> <20181020035004.7brmu7pkajlbdsp5@alap3.anarazel.de> <20181020043046.GC2553@paquier.xyz> <CAOuzzgqbH0X_JX47gDMU76eA3x_U9TyGx7=E-=6o36Vx6bzq8g@mail.gmail.com> <20181020045823.GA19190@paquier.xyz>

* 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