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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 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>

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2004-03-16 08:41:45 Re: win32 open patch for held unlink
Previous Message Bruce Momjian 2004-03-16 03:33:20 Re: win32 open patch for held unlink

Browse pgsql-patches by date

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