Re: Atomic rename feature for Windows. - Mailing list pgsql-hackers

From Ian Lawrence Barwick
Subject Re: Atomic rename feature for Windows.
Date
Msg-id CAB8KJ=jHfC_tBi7JaV1wFW9Su41nkiRzU2bZZRT-sVVOR7nk2w@mail.gmail.com
Whole thread Raw
In response to Re: Atomic rename feature for Windows.  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
2022年10月19日(水) 6:06 Thomas Munro <thomas.munro@gmail.com>:
>
> On Wed, Apr 6, 2022 at 10:40 AM Victor Spirin <v.spirin@postgrespro.ru> wrote:
> > Updated patch: we use the posix semantic features in Windows build 17763
> > and up.
> > We found an issue with this feature on Windows Server 2016 without
> > updates (Windows 1607 Build 14393)
>
> Hi Victor,
>
> I rebased and simplified this, and added a lot of tests to be able to
> understand what it does.  I think all systems that didn't have this
> are now EOL and we don't need to support them in PG16, but perhaps our
> _WIN32_WINNT is not quite high enough (this requires Win10 RS1, which
> itself was EOL'd in 2019); the main question I have now is what
> happens when you run this on non-NTFS filesystems, and whether we want
> to *require* this to work because the non-POSIX support will probably
> finish up untested.  I posted all that over on a new thread where I am
> tidying up lots of related stuff, and I didn't want to repost the
> proposed testing framework in multiple threads...
>
> https://www.postgresql.org/message-id/flat/CA%2BhUKG%2BajSQ_8eu2AogTncOnZ5me2D-Cn66iN_-wZnRjLN%2Bicg%40mail.gmail.com

Hi

As Thomas has incorporated this patch into another CommitFest entry
[1], we'll close
the entry for this thread [2]. If Victor or anyone else would like to
follow up, it would
probably be best to do that on the thread linked above.

[1] https://commitfest.postgresql.org/40/3951/
[2] https://commitfest.postgresql.org/40/3347/


Regards

Ian Barwick



pgsql-hackers by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Patch: Global Unique Index
Next
From: Ian Lawrence Barwick
Date:
Subject: Re: daitch_mokotoff module