diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2013-10-28 11:45:50 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2013-10-28 11:45:50 -0400 |
commit | c737a2e5641a324d3987750b73928c481a5254a0 (patch) | |
tree | 17f685226e5b5653fa2d9440cb4af50f12b482fc /contrib/postgres_fdw/postgres_fdw.c | |
parent | c2b51cf1903d5ed5e962ed68b4a4eeb40fe037db (diff) | |
download | postgresql-c737a2e5641a324d3987750b73928c481a5254a0.tar.gz postgresql-c737a2e5641a324d3987750b73928c481a5254a0.zip |
Work around NetBSD shell issue in pg_upgrade test script.
The NetBSD shell apparently returns non-zero from an unset command if
the variable is already unset. This matters when, as in pg_upgrade's
test.sh, we are working under 'set -e'. To protect against this, we
first set the PG variables to an empty string before unsetting them
completely.
Error found on buildfarm member coypu, solution from Rémi Zara.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions