Ignore more environment variables in pg_regress.c
authorMichael Paquier <michael@paquier.xyz>
Sun, 13 Jun 2021 11:07:45 +0000 (20:07 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sun, 13 Jun 2021 11:07:45 +0000 (20:07 +0900)
commit545aa6a59357f7fb8e341a6a5b4c85e322e78697
tree0541704fcdddb039cd9ddb5d190703ea28590c03
parent94e21021cdf25e50e28be3e4f3147ed56796433a
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
src/test/perl/TestLib.pm
src/test/regress/pg_regress.c