Re: Add WALRCV_CONNECTING state to walreceiver

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Xuneng Zhou <xunengzhou(at)gmail(dot)com>
Cc: Rahila Syed <rahilasyed90(at)gmail(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add WALRCV_CONNECTING state to walreceiver
Date: 2026-01-22 08:08:40
Message-ID: aXHbCO9dwRO54duf@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jan 22, 2026 at 12:37:42PM +0800, Xuneng Zhou wrote:
> So the view returns no row rather than a row with status = 'stopped'.
> But for completeness, maybe we should add it.

Yeah, you are making me doubt here, "stopped" is the only state that
would never show up. After pondering a bit on this one, I have
removed this part, and applied the rest of 0001 on HEAD after some
reordering of the items and fixing a <para> markup which was at an
incorrect location. That's one.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-01-22 08:16:11 Re: Add WALRCV_CONNECTING state to walreceiver
Previous Message Bertrand Drouvot 2026-01-22 08:02:01 Re: Flush some statistics within running transactions