Re: pg_basebackup: check timeline history file write failures in ReceiveXlogStream()

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_basebackup: check timeline history file write failures in ReceiveXlogStream()
Date: 2026-11-11 02:47:43
Message-ID: CAHGQGwEUAK3XrovTw5QOh7T5+wss7uV7PT9L2gXnZ7A7MbV+4w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 11, 2026 at 10:56 AM Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com> wrote:
> Attached is a trivial patch that checks the return value of writeTimeLineHistoryFile() and returns false on failure.

Thanks for the report and patch! LGTM.
Barring any objections, I will commit it.

Regards,

--
Fujii Masao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Xuneng Zhou 2026-11-11 02:53:49 Re: Set 1s WaitLatch timeout if standby limit has expired in ResolveRecoveryConflictWithBufferPin
Previous Message Ajin Cherian 2026-11-11 02:38:44 Re: Avoid using raw xmin of frozen tuples in logicalrep conflict detection