pg_regress.c also sensitive to various PG* environment variables

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: pg_regress.c also sensitive to various PG* environment variables
Date: 2021-06-11 12:07:16
Message-ID: YMNR9GYDn+fHlMta@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

Following up with the recent thread that dealt with the same $subject
for the TAP tests, I have gone through pg_regress.c:
https://www.postgresql.org/message-id/YLbjjRpucIeZ78VQ@paquier.xyz

The list of environment variables that had better be reset when using
a temporary instance is very close to TestLib.pm, leading to the
attached. Please note that that the list of unsetted parameters has
been reorganized to be consistent with the TAP tests, and that I have
added comments referring one and the other.

Thoughts?
--
Michael

Attachment Content-Type Size
regress-env-vars.patch text/x-diff 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2021-06-11 12:08:34 recovery test failures on hoverfly
Previous Message Tomas Vondra 2021-06-11 11:04:36 Re: PoC/WIP: Extended statistics on expressions