Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-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

pgsql-patches by date

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

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group