pgsql: Try to fix pg_upgrade test on Windows, again.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Try to fix pg_upgrade test on Windows, again.
Date: 2023-02-01 01:42:36
Message-ID: E1pN28x-000zhl-JC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c2891175052772b603da6d0ae634e42b63b7f274

Modified Files
--------------
src/bin/pg_upgrade/util.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2023-02-01 01:44:53 Re: pg_upgrade test failure
Previous Message Tom Lane 2023-01-31 22:37:58 pgsql: Update time zone data files to tzdata release 2022g.