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

Re: win32 open patch for held unlink

From: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
To: 'Bruce Momjian' <pgman(at)candle(dot)pha(dot)pa(dot)us>,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 04:22:39
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B55F38D@harris.memetrics.local (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-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>

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-03-16 05:05:31
Subject: Removal of win32-specific rename code
Previous:From: Bruce MomjianDate: 2004-03-16 03:33:20
Subject: Re: win32 open patch for held unlink

pgsql-hackers-win32 by date

Next:From: Magnus HaganderDate: 2004-03-16 08:41:45
Subject: Re: win32 open patch for held unlink
Previous:From: Bruce MomjianDate: 2004-03-16 03:33:20
Subject: Re: win32 open patch for held unlink

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