Re: [PATCH] Atomic pgrename on Windows

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: [PATCH] Atomic pgrename on Windows
Дата
Msg-id 20180115024230.GH2416@tamriel.snowman.net
обсуждение исходный текст
Ответ на [PATCH] Atomic pgrename on Windows  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Список pgsql-hackers
Greetings Alexander, all,

* Alexander Korotkov (a.korotkov@postgrespro.ru) wrote:
> Attached patch atomic-pgrename-windows-1.patch fixes this problem.  It
> appears to be possible to atomically replace file on Windows –
> ReplaceFile() does that.  ReplaceFiles() requires target file to exist,
> this is why we still need to call MoveFileEx() when it doesn't exist.

There's been some discussion on this patch and it seems to, at least,
improve the situation on Windows even if it might not completely address
the issues.  Does anyone else want to take a look and comment,
particularly those familiar with the Windows side of things?  Otherwise,
I'm afraid this patch may end up just sitting in Needs review state fo
the entire CF and not getting moved forward, even though it seems like a
good improvement for our Windows users.

Thanks!

Stephen

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: [HACKERS] Useless code in ExecInitModifyTable
Следующее
От: Andres Freund
Дата:
Сообщение: Re: PATCH: psql tab completion for SELECT