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

Noah Misch <noah@leadboat.com>

Commit: 10b72deafea5972edcafb9eb3f97154f32ccd340
Author: Noah Misch <noah@leadboat.com>
Date: 2019-05-28T19:58:30Z
Releases: 12.0
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

Files

PathChange+/−
src/bin/pg_upgrade/test.sh modified +2 −1
src/tools/msvc/vcregress.pl modified +4 −2

Discussion