aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/stringutils.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-06-03 11:51:47 +0900
committerMichael Paquier <michael@paquier.xyz>2021-06-03 11:51:47 +0900
commitebd542bf4fd3dc8e9f2c8f145b57eccfd498a003 (patch)
tree8379882ae41caa8fa9b9b975d024ae41292a2d59 /src/bin/psql/stringutils.c
parentbdd096f1aec040574ff36a16946579b23a0e4879 (diff)
downloadpostgresql-ebd542bf4fd3dc8e9f2c8f145b57eccfd498a003.tar.gz
postgresql-ebd542bf4fd3dc8e9f2c8f145b57eccfd498a003.zip
Ignore more environment variables in TAP tests
Various environment variables were not getting reset in the TAP tests, which would cause failures depending on the tests or the environment variables involved. For example, PGSSL{MAX,MIN}PROTOCOLVERSION could cause failures in the SSL tests. Even worse, a junk value of PGCLIENTENCODING makes a server startup fail. The list of variables reset is adjusted in each stable branch depending on what is supported. While on it, simplify a bit the code per a suggestion from Andrew Dunstan, using a list of variables instead of doing single deletions. Reviewed-by: Andrew Dunstan, Daniel Gustafsson Discussion: https://postgr.es/m/YLbjjRpucIeZ78VQ@paquier.xyz Backpatch-through: 9.6
Diffstat (limited to 'src/bin/psql/stringutils.c')
0 files changed, 0 insertions, 0 deletions