From: Michael Paquier <michael@paquier.xyz>
To: Stephen Frost <sfrost@snowman.net>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Drop test user when done with it.
Date: Thu, 27 Jun 2019 17:12:22 +0900
Message-ID: <20190627081222.GC3509@paquier.xyz> (raw)
In-Reply-To: <20190626190733.GD2480@tamriel.snowman.net>
References: <CAOuzzgoghT6CbvgK-2LE=+N1Xgbg974KnLtY3yZHa+ugYff9Jw@mail.gmail.com>
<20190626185948.GA14895@alvherre.pgsql>
<20190626190733.GD2480@tamriel.snowman.net>
On Wed, Jun 26, 2019 at 03:07:33PM -0400, Stephen Frost wrote:
> Yes, thanks, and specifically this:
>
> https://www.postgresql.org/message-id/20181130163728.GE3415%40tamriel.snowman.net
>
> Adding 'DROP IF EXISTS' to the top to have things cleaned up so that the
> run can be repeated is fine. Removing things at the end of the test
> script would defeat the entire purpose of those tests.
The problem is that if you do an installcheck, then the role persists
in the instance of Postgres installed. That's not a good thing, and
contrary to the test policy. And your solution does nothing about
that.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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, alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Drop test user when done with it.
In-Reply-To: <20190627081222.GC3509@paquier.xyz>
References: <CAOuzzgoghT6CbvgK-2LE=+N1Xgbg974KnLtY3yZHa+ugYff9Jw@mail.gmail.com> <20190626185948.GA14895@alvherre.pgsql> <20190626190733.GD2480@tamriel.snowman.net> <20190627081222.GC3509@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