Re: Win32 rename()/unlink() questions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Win32 rename()/unlink() questions
Date
Msg-id 16067.1032532072@sss.pgh.pa.us
Whole thread Raw
In response to Re: Win32 rename()/unlink() questions  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-hackers
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> ... let you do the replace and keep reading (at the penalty that
> you've now got to have a way to know when to remove the
> various <something>s)

That is the hard part.  Mike's description omitted one crucial step:

6. The old "foo" goes away when the last open file handle for it is
closed.

I doubt there is any practical way for Postgres to cause that to happen
if the OS itself does not have any support for it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Where to post a new PostgreSQL utility?
Next
From: Bruce Momjian
Date:
Subject: Re: Win32 rename()/unlink() questions