Re: Win32 rename()/unlink() questions

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Win32 rename()/unlink() questions
Date: 2002-09-19 05:24:01
Message-ID: GNELIHDDFBOCMGBFGEFOGEFCCEAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Wed, Sep 18, 2002 at 08:01:42PM -0400, Bruce Momjian wrote:
>
> > Second, when you unlink() a file on Win32, do applications continue
> > accessing the old file contents if they had the file open before the
> > unlink?
>
> I'm pretty sure it errors with 'file in use'. Pretty ugly, huh?

Yeah - the windows filesystem is pretty poor when it comes to multiuser
access. That's why even as administrator I cannot delete borked files and
people's profiles and stuff off our NT server - the files are always 'in
use'. Even if you kick all users off, reboot the machine, do whatever.
It's terrible.

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Mascari 2002-09-19 05:31:19 Re: Win32 rename()/unlink() questions
Previous Message Mike Mascari 2002-09-19 05:23:45 Re: Win32 rename()/unlink() questions