pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Stephen Frost <sfrost@snowman.net>
Cc: Michael Paquier <michael@paquier.xyz>
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: Fri, 19 Oct 2018 22:16:05 -0700
Message-ID: <20181020051605.pnemvsfmawdpiufe@alap3.anarazel.de> (raw)
In-Reply-To: <CAOuzzgpAk3C6uAdyP6MQdamVRK5u05FkqRRmZOk0xqAs9DTqKA@mail.gmail.com>
References: <20181019192146.j4my7yjzv4eitw2w@alap3.anarazel.de>
	<20181019195728.GQ4184@tamriel.snowman.net>
	<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>
	<CAOuzzgpAk3C6uAdyP6MQdamVRK5u05FkqRRmZOk0xqAs9DTqKA@mail.gmail.com>

Hi,

On 2018-10-20 00:25:19 -0400, Stephen Frost wrote:
> If we are going to decide that we only deal with files in our directories
> matching these whitelisted patterns, then shouldn’t we apply similar logic
> in things like DROP DATABASE and any other cases where we perform actions
> in a recursive manner across our database and table space directories?

I'm honestly not sure if you're just trolling at this point.  Why would
anybody reasonable be concerned about DROP DATABASE dropping the
directory for the database? You're not honestly suggesting that anybody
would write an extension or anything like that that stores data in the
wrong database's directory, right?  Other iterations like fsyncing
files, copying the entire template database directory, etc are similarly
harmless or positive.


Greetings,

Andres Freund




view thread (76+ messages)  latest in thread

Message-ID: <20181020051605.pnemvsfmawdpiufe@alap3.anarazel.de>
Permalink:  ../20181020051605.pnemvsfmawdpiufe@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20181020051605.pnemvsfmawdpiufe@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, sfrost@snowman.net, michael@paquier.xyz, 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: <20181020051605.pnemvsfmawdpiufe@alap3.anarazel.de>
  References: <20181019192146.j4my7yjzv4eitw2w@alap3.anarazel.de> <20181019195728.GQ4184@tamriel.snowman.net> <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> <CAOuzzgpAk3C6uAdyP6MQdamVRK5u05FkqRRmZOk0xqAs9DTqKA@mail.gmail.com> <20181020051605.pnemvsfmawdpiufe@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