Thread: win32 open patch for held unlink

win32 open patch for held unlink

From
Claudio Natoli
Date:
For application to HEAD, following community review. [open.c destined for
src/port]

Win32 people: This has been kicked around on the thread for a bit, I've not
been able to break it, but am still uncomfortable that it appears a novel
solution. If you can see any reason why this approach should not be adopted,
speak up now (or forever hold your transactions?).

heers,
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>



Attachment

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

From
Bruce Momjian
Date:
Claudio, how does this handle renames if the file is open by someone
else?  Does this remove the need to loop over the rename?

---------------------------------------------------------------------------

Claudio Natoli wrote:
>
> For application to HEAD, following community review. [open.c destined for
> src/port]
>
> Win32 people: This has been kicked around on the thread for a bit, I've not
> been able to break it, but am still uncomfortable that it appears a novel
> solution. If you can see any reason why this approach should not be adopted,
> speak up now (or forever hold your transactions?).
>
> heers,
> 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>
>
>

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073