Try to fix pg_upgrade test on Windows, again.
authorThomas Munro <tmunro@postgresql.org>
Wed, 1 Feb 2023 01:29:51 +0000 (14:29 +1300)
committerThomas Munro <tmunro@postgresql.org>
Wed, 1 Feb 2023 01:40:25 +0000 (14:40 +1300)
commitc2891175052772b603da6d0ae634e42b63b7f274
tree354103b1e492c139ad4ea7f37310578d4f21d5bf
parent758f44bc3a365bed6b82db098bebc26ef441ba42
Try to fix pg_upgrade test on Windows, again.

Further to commit 54e72b66e, if rmtree() fails while cleaning up in
pg_upgrade, try again.  This gives our Windows unlink() wrapper a chance
to reach its wait-for-the-other-process-to-go-away logic, if the first
go around initiated the unlink of a file that a concurrently exiting
program still has open.

Discussion: https://postgr.es/m/CA%2BhUKGKCVy2%3Do%3Dd8c2Va6a_3Rpf_KkhUitkWCZ3hzuO2VwLMXA%40mail.gmail.com
src/bin/pg_upgrade/util.c