]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Ignore more environment variables in pg_regress.c
authorMichael Paquier <michael@paquier.xyz>
Sun, 13 Jun 2021 11:08:06 +0000 (20:08 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sun, 13 Jun 2021 11:08:06 +0000 (20:08 +0900)
commit1df6bee296ed2be0fda11ee7aa42853cf0469f8d
tree0786fe19282f72efba3558552e4cfd11568b028c
parentc1ffbbcbca93b3544c0b57b7ab063497794cb8ff
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