]> 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:00 +0000 (20:08 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sun, 13 Jun 2021 11:08:00 +0000 (20:08 +0900)
commitd31c316c74ee3cf2942cb91c2fe91fb6749730c7
tree854c94f73ebf3277e0246fbc03000ecb7a9ee0d6
parent1b48dd50abd6220f199ba31e54b3c42c7cd729cd
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