Re: Atomic rename feature for Windows.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Atomic rename feature for Windows.
Дата
Msg-id CA+hUKGK5tE_ybw6Nv1-7KfOp6Oosh9OzOHS2wO7kNcGSQ5Xq5A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Atomic rename feature for Windows.  (Victor Spirin <v.spirin@postgrespro.ru>)
Ответы Re: Atomic rename feature for Windows.  (Victor Spirin <v.spirin@postgrespro.ru>)
Список pgsql-hackers
On Wed, Sep 8, 2021 at 9:40 AM Victor Spirin <v.spirin@postgrespro.ru> wrote:
> Is this code better? Maybe there is another correct method?

Hmm, if we want to use the system header's struct definition, add some
space for a path at the end, and avoid heap allocation, perhaps we
could do something like:

struct {
    FILE_RENAME_INFO fri;
    WCHAR extra_space[MAX_PATH];
} x;



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

Предыдущее
От: Juan José Santamaría Flecha
Дата:
Сообщение: Re: Atomic rename feature for Windows.
Следующее
От: Aleksander Alekseev
Дата:
Сообщение: Re: mark the timestamptz variant of date_bin() as stable