pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Michael Paquier <michael@paquier.xyz>
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: Thu, 11 Oct 2018 19:41:18 -0700
Message-ID: <20181012024118.q3jwio7gf52nsrmm@alap3.anarazel.de> (raw)
In-Reply-To: <20181012020758.GB30064@paquier.xyz>
References: <E1gAl9R-00015q-Nl@gemulon.postgresql.org>
	<20181012005614.GC26424@paquier.xyz>
	<20181012010411.re53cwcistcpip5j@alap3.anarazel.de>
	<20181012013918.GA30064@paquier.xyz>
	<20181012015319.ezsb2cxb52ulbqgx@alap3.anarazel.de>
	<20181012020758.GB30064@paquier.xyz>

Hi,

On 2018-10-12 11:07:58 +0900, Michael Paquier wrote:
> On Thu, Oct 11, 2018 at 06:53:19PM -0700, Andres Freund wrote:
> > Hm. Maybe I'm confused, but how is it correct to use a blacklisting
> > approach here? It's far from absurd to have files inside a tablespacs
> > when using temp_tablespace that aren't written through the buffer
> > manager.  Like, uh, temp files, when using temp_tablespaces.
> 
> pg_verify_checksums assumes that the cluster has been cleanly shut
> down so temp files are not an issue, no?  However...

We only remove temp dirs on startup, and I'm pretty sure there at least
not too long ago were a few error cases where we can leak temp files in
individual sessions.  And there's talk about allowing
pg_verify_checksums when online.  So this seems to be an angle that
needs to be thought about...

Greetings,

Andres Freund




view thread (76+ messages)  latest in thread

Message-ID: <20181012024118.q3jwio7gf52nsrmm@alap3.anarazel.de>
Permalink:  ../20181012024118.q3jwio7gf52nsrmm@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20181012024118.q3jwio7gf52nsrmm@alap3.anarazel.de

 · 

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: andres@anarazel.de, michael@paquier.xyz, pgsql-hackers@postgresql.org, daniel@yesql.se, magnus@hagander.net
  Subject: Re: pgsql: Add TAP tests for pg_verify_checksums
  In-Reply-To: <20181012024118.q3jwio7gf52nsrmm@alap3.anarazel.de>
  References: <E1gAl9R-00015q-Nl@gemulon.postgresql.org> <20181012005614.GC26424@paquier.xyz> <20181012010411.re53cwcistcpip5j@alap3.anarazel.de> <20181012013918.GA30064@paquier.xyz> <20181012015319.ezsb2cxb52ulbqgx@alap3.anarazel.de> <20181012020758.GB30064@paquier.xyz> <20181012024118.q3jwio7gf52nsrmm@alap3.anarazel.de>

* 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