Re: Postgresql13_beta1 (could not rename temporary statistics file)Windows 64bits

Поиск
Список
Период
Сортировка
От Ranier Vilela
Тема Re: Postgresql13_beta1 (could not rename temporary statistics file)Windows 64bits
Дата
Msg-id CAEudQAqVDaYzbGK=DxO5MDbga9GNAE_sxeSh_JtNZNAS-S1W0A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postgresql13_beta1 (could not rename temporary statistics file)Windows 64bits  (Ranier Vilela <ranier.vf@gmail.com>)
Список pgsql-hackers
posix rename, "renames a file, moving it between directories if required".

pgrename, win32 port uses MoveFileEx, to support rename files at Windows side,
but, actually don't allow "renames a file, moving it between directories if required".

To match the same characteristics as posix rename, we need to add a flag to MoveFileEx (MOVEFILE_COPY_ALLOWED)
Which allows, if necessary, to move between volumes, drives and directories.

Such a resource seems to decrease the chances of occurring, permission denied, when renaming the temporary statistics file.
Вложения

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: problem with RETURNING and update row movement
Следующее
От: Andres Freund
Дата:
Сообщение: Re: hashagg slowdown due to spill changes