Re: pgsql: Drop test user when done with it.

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Drop test user when done with it.
Date: 2019-06-26 15:53:57
Message-ID: CAOuzzgoghT6CbvgK-2LE=+N1Xgbg974KnLtY3yZHa+ugYff9Jw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Greetings,

On Wed, Jun 26, 2019 at 10:51 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> I wrote:
> > Michael Paquier <michael(at)paquier(dot)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.

On my phone atm, but this feels very deja vu...

Isn’t this the one run from pg_upgrade’s tests? We don’t want to break that
(and hopefully we haven’t but maybe something did...). Pretty sure we had
nearly the same discussion this past fall...

Thanks,

Stephen

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-06-26 17:06:55 Re: UCT (Re: pgsql: Update time zone data files to tzdata release 2019a.)
Previous Message Tom Lane 2019-06-26 14:50:52 Re: pgsql: Drop test user when done with it.