Re: BUG: Cascading standby fails to reconnect after falling back to archive recovery

Xuneng Zhou <xunengzhou@gmail.com>

From: Xuneng Zhou <xunengzhou@gmail.com>
To: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Cc: Fujii Masao <masao.fujii@gmail.com>, pgsql-hackers@postgresql.org
Date: 2026-05-16T07:13:03Z
Lists: pgsql-hackers
On Wed, May 6, 2026 at 7:28 PM Marco Nenciarini
<marco.nenciarini@enterprisedb.com> wrote:
>
> Hi Xuneng,
>
> You're right that polling isn't ideal.  For a backpatchable bug fix
> though, the trade-off seems reasonable: the change is contained in
> the walreceiver, doesn't touch the wire protocol, and applies to all
> back branches.  Exploring better designs would be worthwhile but
> probably belongs in a separate effort.

Yeah, it's still better than remaining unfixed. I'll look into it.

--
Regards,
Xuneng Zhou
HighGo Software Co., Ltd.