diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-06-13 20:07:45 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-06-13 20:07:45 +0900 |
commit | 545aa6a59357f7fb8e341a6a5b4c85e322e78697 (patch) | |
tree | 0541704fcdddb039cd9ddb5d190703ea28590c03 /src/test/perl/TestLib.pm | |
parent | 94e21021cdf25e50e28be3e4f3147ed56796433a (diff) |
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
Diffstat (limited to 'src/test/perl/TestLib.pm')
-rw-r--r-- | src/test/perl/TestLib.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/perl/TestLib.pm b/src/test/perl/TestLib.pm index 799315602dc..deb39305973 100644 --- a/src/test/perl/TestLib.pm +++ b/src/test/perl/TestLib.pm @@ -98,6 +98,7 @@ BEGIN delete $ENV{LC_ALL}; $ENV{LC_MESSAGES} = 'C'; + # This list should be kept in sync with pg_regress.c. my @envkeys = qw ( PGCHANNELBINDING PGCLIENTENCODING |