Re: More time spending with "delete pending" - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: More time spending with "delete pending"
Date
Msg-id YOfkMRNtMjyDLnLL@paquier.xyz
Whole thread Raw
In response to Re: More time spending with "delete pending"  (Alexander Lakhin <exclusion@gmail.com>)
Responses Re: More time spending with "delete pending"  (Alexander Lakhin <exclusion@gmail.com>)
List pgsql-hackers
On Thu, Jul 08, 2021 at 11:00:00PM +0300, Alexander Lakhin wrote:
> Beside the aforementioned test I can only propose the extended patch,
> that incorporates the undo of the changes brought by bed90759f.
> With this patch that test is passed.

Checked and confirmed.  It is a nice test with IPC::Run you have here.
Making things in win32stat.c more consistent with open.c surely is
appealing.  One thing that I'd like to introduce in this patch, and
also mentioned upthread, is to change the stat() call in open.c to use
microsoft_native_stat().

I have let pgbench run for a couple of hours with some concurrent
activity using genfile.c, without noticing problems.  My environment
is not representative of everything we can find out there on Windows,
but it brings some confidence.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [PoC] Improve dead tuple storage for lazy vacuum
Next
From: Amul Sul
Date:
Subject: Re: when the startup process doesn't (logging startup delays)