Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wQodq-001tdl-31 for pgsql-hackers@arkaria.postgresql.org; Sat, 23 May 2026 15:51:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wQodo-00FuYB-10 for pgsql-hackers@arkaria.postgresql.org; Sat, 23 May 2026 15:51:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wQodo-00FuXu-03 for pgsql-hackers@lists.postgresql.org; Sat, 23 May 2026 15:51:56 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wQodm-0000000143k-3CQi for pgsql-hackers@postgresql.org; Sat, 23 May 2026 15:51:56 +0000 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-bce386d5b85so1307654566b.1 for ; Sat, 23 May 2026 08:51:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1779551514; cv=none; d=google.com; s=arc-20240605; b=WtVkCv/TtTTJCYzF78nooPMwZgmpiVLbZSlCvKnWmTyhqEksOghv7SG7givZo6/AhP ro7MUphoEpdayOgFZqqZ8OfotKvy3e4/888fqH3fQ2OV9imIY6uMfbmmoNpobbvshL6k o+4fu5y/p4i2wV2K65VfJxXBc5YBjOV3IgSSZqmmQtqa3MzQuTXO0n9wIo9bNX7Dwiw5 TbHdOLkLt+qnUxk2M5FzidKs4Fr/9lkSeKU22TNKBnDDQNCgzOyp22dRvsS8mIB+JXz9 WXLiU8yGItiZMs+FRjVQiyQL6G4qjykv1ATr/7OEb0+ZD6U6KDZD9H2LBs2a4+u+COfz ZRTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=xtb4PHEXoPakP+yhcyJP+qLKYroBYIi0uzeZ8iYcejY=; fh=u6TDM5PRBbSoa0riOhVGJTevpibRhY+KzJ/VtZVohC0=; b=DeQ2RrMPDFeT8fT2DN82h3V1M+7wXL6vqBZRah1mcgYkDXSMi+l7ZP+lUlRgbnsI7Q c14dRDR7WPXyu6e3bjqb5B7F5QHIAnFhBWw2OQb5DrxbWPx2Qd3ZssqfXF5B8EVzlhBy xFPXK5hu2mcWL/ttdnIs3sNalR/p5NVRS1g1gHOTfW3k9sQLMKqB7yr6pFirzepny0pm 5kSse8DxOotAhUBtKoPm5GfnjPN9HrS08kmQRut7IWNIv4P4M9Vu5q/8zq5//8frcX5r OBF/l+mZZz8b6yGqMyNia43HjfLvyMkUaIkDynT8afLS41thPS9s4sCJId/xBNq3y1Br 1M2Q==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779551514; x=1780156314; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xtb4PHEXoPakP+yhcyJP+qLKYroBYIi0uzeZ8iYcejY=; b=lXd6DtLGqTUCnib5x8iv2LzUp/v5OnwtuV1pwqbSYo1Rp4iadkSqN2jMsA2NzpODPp qC+KrccGjH0paDMkCGm2oltwUO7W9pXIeqCpgAukDWToClNycoUKgm+tvOvK/AVTOpAh ABaOVZEvwHhztsRGJUTTmstne2DEPaZR8xtGqLr4A9TTlcA6HF8nszdnSRouAYpVI8w0 XckSf9+Y0but0xCf+MiWZmP6HM2zsLqt9k2pFQhSAr/0GZajAr71MCewY8BvHWA6c6zA maAHqDg1bEZRKh3YLl9o0tdflw/jix+oa1q17++xD48UtHyPVh1Mf3fP43y+DU638vUm qacQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779551514; x=1780156314; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=xtb4PHEXoPakP+yhcyJP+qLKYroBYIi0uzeZ8iYcejY=; b=H4HlCoCwopYLeIgEj/5NxeR/bIV0W+WWvimFU0l1JR7vfqeHzlO+G+oItxYbMM/2tC rNlRKRBZ/1JN2koZ1gdra2VPoeIa37c/j1d+DSE91I9OfcKiBMXz1bL/seuHjQXbi5E7 FN7kr2qsKg6Nft3H+55wfDloK7p//bAOSVCj91J7qrEnn7Xmc5RKaGdlPDGgM+DVla/Z TVMa4WI+CNjvqTegmkb2Wp7wTkR9r9EFpmEfGEMGVF7UF0nabcosoB3F1ijn+ZmtOa4s l85DzhlQ1GCHUuP/dcq3SRj7AROUJPHPsQjAdKQ+j4VqPe1eIYGrpRrFdK6r0w+JBdhi mXfA== X-Gm-Message-State: AOJu0YwucN+29VS8XBtQS88S2m8VdX0hap6+tBGlGgyP+hKqIDGbKonl GwIL8a/y9nZMj+coWarCicJcB1dddQiuIV71P9LeHVVhFzC9QXySr+hWLSFbma3A8msllCWoSv9 FIOUzTCifZwu5yfPkujcqvyiOvjk8TKQ= X-Gm-Gg: Acq92OEv4BB3P0McoN5UTKvm1OMTG0qgCYJlclEmu2Xlg6HCOT16X2a02McuyXydojd iPujb2svS6yxVGBzommiI/KlIRvSS40n/vXDaqnTOU3ohCAD+iVmge/GqKdEvXLYVGRxsKlsOAb O5kpIdRVtOUBXauTIsJ/kJEBxLyKUKxcC5JH97j4VcwWoT/p0d4sgcnvqL8Ai/dPgYyr7oJKkaH 3LChio6IF9Nv9usD4vSQZfFw7HgHkcUMYGP4DRuXQi99dq+lvk5bHEc/CMpJUAICQxq1Nf2Ep70 CpmfzSVy8Jr99Jfpbog5DuRtH8PlZ44vuHHXsWPtbj9GFwN5kJ8R/SSMWFiSjIC6+5ohmm/u7qA I5YRcPY/E X-Received: by 2002:a17:906:eec4:b0:bd4:8b66:334f with SMTP id a640c23a62f3a-bdd27bd2a5amr556005266b.33.1779551513374; Sat, 23 May 2026 08:51:53 -0700 (PDT) MIME-Version: 1.0 References: <1F153E64-B791-42FA-A60A-64813B20B81E@gmail.com> <75CDE990-29D5-4D5C-BFE1-3840F19C0163@gmail.com> <1B695040-F544-447C-A6A8-C8BFF7F799D1@gmail.com> <1B9D2BAF-C73A-4A79-852C-17FB2A474AC0@gmail.com> <93526C6D-DE0A-4B7D-B908-366735FC211D@gmail.com> In-Reply-To: From: Xuneng Zhou Date: Sat, 23 May 2026 08:51:41 -0700 X-Gm-Features: AVHnY4I5L3cJVgPijJbWoV9_PCKnZSJ3_OOv5lGf3-T6KDvE30EfufeGvVMpHq4 Message-ID: Subject: Re: Fix pg_stat_wal_receiver to show CONNECTING status To: Chao Li , Michael Paquier Cc: PostgreSQL-development , Michael Paquier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, May 22, 2026 at 4:56=E2=80=AFPM Chao Li wr= ote: > > > > > On May 23, 2026, at 07:23, Michael Paquier wrote: > > > > On Fri, May 22, 2026 at 10:06:33AM +0800, Chao Li wrote: > >> Here comes the patch set: > >> > >> * v3-0001 is the exactly same as v2-0001 > >> * In v3-0002, the change in walreceiverfuncs.c is the same as the > >> * previous diff, and I tuned the test change a little bit. > > > > Okay, applied the first one on HEAD, and backpatched the second one. > > -- > > Michael > > Thank you very much for applying the patch and still working hard during = the PGConf. > Thanks for dealing with this and sorry for being late in the game. I'll do a post-commit review while I'm on the flight. --=20 Regards, Xuneng Zhou HighGo Software Co., Ltd.