Thread: pgsql: In the pg_upgrade test suite, remove and recreate "tmp_check".

pgsql: In the pg_upgrade test suite, remove and recreate "tmp_check".

From
Noah Misch
Date:
In the pg_upgrade test suite, remove and recreate "tmp_check".

This allows "vcregress upgradecheck" to pass twice in immediate
succession, and it's more like how $(prove_check) works.  Back-patch to
9.5, where pg_upgrade moved to src/bin.

Discussion: https://postgr.es/m/20190520012436.GA1480421@rfd.leadboat.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/20103a26094beeadb2019f5b86a57f6eee684d8e

Modified Files
--------------
src/bin/pg_upgrade/test.sh  | 3 ++-
src/tools/msvc/vcregress.pl | 6 ++++--
2 files changed, 6 insertions(+), 3 deletions(-)