Ignore more environment variables in pg_regress.c
authorMichael Paquier <[email protected]>
Sun, 13 Jun 2021 11:07:39 +0000 (20:07 +0900)
committerMichael Paquier <[email protected]>
Sun, 13 Jun 2021 11:07:39 +0000 (20:07 +0900)
commita9e0b3b08fe38d5e31f03ea96859ff5e413d4a38
treebd4cb5232baa80b3d68d679dce84fe381d67b464
parentf452aaf7d4a96cfcecd6c60ccd294ffe7b8ea088
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/[email protected]
Backpatch-through: 9.6
src/test/perl/TestLib.pm
src/test/regress/pg_regress.c