Re: win32 open patch for held unlink

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
Cc: "'pgsql-patches(at)postgresql(dot)org'" <pgsql-patches(at)postgresql(dot)org>, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: win32 open patch for held unlink
Date: 2004-03-16 03:09:02
Message-ID: 200403160309.i2G392S02956@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches


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(at)postgresql(dot)org)

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

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Claudio Natoli 2004-03-16 03:17:31 Re: win32 open patch for held unlink
Previous Message Claudio Natoli 2004-03-16 03:02:20 win32 open patch for held unlink

Browse pgsql-patches by date

  From Date Subject
Next Message Claudio Natoli 2004-03-16 03:17:31 Re: win32 open patch for held unlink
Previous Message Claudio Natoli 2004-03-16 03:02:20 win32 open patch for held unlink