Re: [pgsql-hackers-win32] win32 open patch for held unlink - Mailing list pgsql-patches

From Claudio Natoli
Subject Re: [pgsql-hackers-win32] win32 open patch for held unlink
Date
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F38D@harris.memetrics.local
Whole thread Raw
List pgsql-patches
> Agreed, we still need dirmod.c in case someone has opened it using a
non-unix mode.

Ok. Wanted to make sure I was on the same page.


> My only question was whether this new mode makes rename
> possible on a target file opened by another backend.

Looks good. Wrote a pair of 2 liner driver programs to test. Renaming fails
when the file is open()'d, but proceeds correctly when win32_open()'d.

Cheers,
Claudio

---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [pgsql-hackers-win32] win32 open patch for held unlink
Next
From: Bruce Momjian
Date:
Subject: Removal of win32-specific rename code