Re: pgsql: Drop test user when done with it. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Drop test user when done with it.
Date
Msg-id 26228.1561556556@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Drop test user when done with it.  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pgsql: Drop test user when done with it.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Michael Paquier <michael@paquier.xyz> writes:
> On Mon, Jun 24, 2019 at 04:37:13PM +0000, Tom Lane wrote:
>> Commit d7f8d26d9 added a test case that created a user, but forgot
>> to drop it again.  This is no good; for one thing, it causes repeated
>> "make installcheck" runs to fail.

> 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.

            regards, tom lane



pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Drop test user when done with it.
Next
From: Michael Paquier
Date:
Subject: pgsql: Add support for OpenSSL 1.1.0 and newer versions in MSVCscripts