| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Ignore more environment variables in pg_regress.c |
| Date: | 2021-06-13 11:09:21 |
| Message-ID: | E1lsNzV-0006H6-J7@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Ignore more environment variables in pg_regress.c
This is similar to the work done in 8279f68 for TestLib.pm, where
environment variables set may cause unwanted failures if using a
temporary installation with pg_regress. The list of variables reset is
adjusted in each stable branch depending on what is supported.
Comments are added to remember that the lists in TestLib.pm and
pg_regress.c had better be kept in sync.
Reviewed-by: Álvaro Herrera
Discussion: https://postgr.es/m/YMNR9GYDn+fHlMta@paquier.xyz
Backpatch-through: 9.6
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/15cb0bf4714566721185fdea32d4dd5f8f706aa2
Modified Files
--------------
src/test/perl/TestLib.pm | 1 +
src/test/regress/pg_regress.c | 26 ++++++++++++++++++++++----
2 files changed, 23 insertions(+), 4 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2021-06-13 11:20:18 | pgsql: Further tweaks to stuck_on_old_timeline recovery test |
| Previous Message | Tom Lane | 2021-06-12 19:12:34 | pgsql: Restore robustness of TAP tests that wait for postmaster restart |