Re: Win32 rename()/unlink() questions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Win32 rename()/unlink() questions
Дата
Msg-id 16067.1032532072@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Win32 rename()/unlink() questions  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список 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 по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Where to post a new PostgreSQL utility?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Win32 rename()/unlink() questions