Re: pg_receivewal fail to streams when the partial file to write is not fully initialized present in the wal receiver directory

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема Re: pg_receivewal fail to streams when the partial file to write is not fully initialized present in the wal receiver directory
Дата
Msg-id CALj2ACW+BEx3E4BUwaxzc_pn70rQPT=Bm0B==r2R8HUD4BGC+w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_receivewal fail to streams when the partial file to write is not fully initialized present in the wal receiver directory  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Ответы Re: pg_receivewal fail to streams when the partial file to write is not fully initialized present in the wal receiver directory  (Peter Smith <smithpb2250@gmail.com>)
Список pgsql-hackers
On Thu, Sep 22, 2022 at 7:16 AM Bharath Rupireddy
<bharath.rupireddyforpostgres@gmail.com> wrote:
>
> PSA v8 patch.

I simplified the code a bit by using a fixed temporary file name
(thanks Michael Paquier for the suggestion) much like the core does in
XLogFileInitInternal(). If there's any left-over temp file from a
crash or failure in dir_open_for_write(), that gets deleted in the
next call.

Please review the v9 patch further.

--
Bharath Rupireddy
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Вложения

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

Предыдущее
От: "kuroda.hayato@fujitsu.com"
Дата:
Сообщение: RE: Add mssing test to test_decoding/meson.build
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: SI-read predicate locks on materialized views