aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2013-10-28 11:45:50 -0400
committerAndrew Dunstan <andrew@dunslane.net>2013-10-28 11:45:50 -0400
commitc737a2e5641a324d3987750b73928c481a5254a0 (patch)
tree17f685226e5b5653fa2d9440cb4af50f12b482fc /src/backend/utils/adt/xml.c
parentc2b51cf1903d5ed5e962ed68b4a4eeb40fe037db (diff)
downloadpostgresql-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 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions