From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org, Stephen Frost <sfrost@snowman.net>
Subject: Re: pgsql: Drop test user when done with it.
Date: Wed, 26 Jun 2019 10:50:52 -0400
Message-ID: <31292.1561560652@sss.pgh.pa.us> (raw)
In-Reply-To: <26228.1561556556@sss.pgh.pa.us>
References: <E1hfRxx-0005DR-RR@gemulon.postgresql.org>
<20190626042117.GK1714@paquier.xyz>
<26228.1561556556@sss.pgh.pa.us>
I wrote:
> Michael Paquier <michael@paquier.xyz> writes:
>> If we are on that, we still have src/test/modules/test_pg_dump/ which
>> is not repeatable with multiple installchecks:
>> https://www.postgresql.org/message-id/20181130163728.GE3415@tamriel.snowman.net> OK, hadn't run into that personally, but let's fix that too. Anything
> that can be run with "installcheck" has to satisfy the restrictions
> of being re-runnable and careful about what global names it uses.
Actually, now that I re-read that thread, maybe what we need to do is
mark test_pg_dump as something not to be run by "make installcheck"?
I'm not quite sure what *does* run it, but the context is evidently
that it's supposed to be run by some overarching script that's then
going to run pg_dump on the ending database state. So it's not meant
to be run against a generic pre-existing installation, and it doesn't
have to follow the rules for being safe for that --- but then we need
to be sure that it doesn't get called that way if someone does "make
installcheck" in a parent directory.
regards, tom lane
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: tgl@sss.pgh.pa.us, michael@paquier.xyz, sfrost@snowman.net
Subject: Re: pgsql: Drop test user when done with it.
In-Reply-To: <31292.1561560652@sss.pgh.pa.us>
References: <E1hfRxx-0005DR-RR@gemulon.postgresql.org> <20190626042117.GK1714@paquier.xyz> <26228.1561556556@sss.pgh.pa.us> <31292.1561560652@sss.pgh.pa.us>
* 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