Re: Add WALRCV_CONNECTING state to walreceiver

2025-12-12 Thread Xuneng Zhou
Hi Noah, On Fri, Dec 12, 2025 at 1:05 PM Noah Misch wrote: > > On Fri, Dec 12, 2025 at 12:51:00PM +0800, Xuneng Zhou wrote: > > Bug #19093 [1] reported that pg_stat_wal_receiver.status = 'streaming' > > does not accurately reflect streaming health. In that discussion, > > Noah noted that even be

Re: Add WALRCV_CONNECTING state to walreceiver

2025-12-11 Thread Noah Misch
On Fri, Dec 12, 2025 at 12:51:00PM +0800, Xuneng Zhou wrote: > Bug #19093 [1] reported that pg_stat_wal_receiver.status = 'streaming' > does not accurately reflect streaming health. In that discussion, > Noah noted that even before the reported regression, status = > 'streaming' was unreliable bec

Add WALRCV_CONNECTING state to walreceiver

2025-12-11 Thread Xuneng Zhou
82802b2bac003c2cfe08f87 Mon Sep 17 00:00:00 2001 From: alterego655 <[email protected]> Date: Fri, 12 Dec 2025 12:21:14 +0800 Subject: [PATCH] Add WALRCV_CONNECTING state to walreceiver Previously, walreceiver set status='streaming' early in startup before receiving any WAL, making it