Re: BUG #18158: Assert in pgstat_report_stat() fails when a backend shutting down with stats pending

From: Xuneng Zhou <xunengzhou(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Alexander Lakhin <exclusion(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18158: Assert in pgstat_report_stat() fails when a backend shutting down with stats pending
Date: 2026-06-06 12:45:26
Message-ID: CABPTF7XWsFgfAqqTv2epcMQs+vT6EMg_j43F8CSJ7Cjsv8QLJQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Michael,

On Sat, Jun 6, 2026 at 8:13 AM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> On Fri, Jun 05, 2026 at 08:00:00AM +0300, Alexander Lakhin wrote:
> > Thank you for the fix!
>
> Applied as of 4801610f7c66 in the v15~17 range.

Sorry for being late. One nit for the patch -- would it be better to
use AmWalSenderProcess() for identification to save the include?
+#include "replication/walsender.h"

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2026-06-07 06:56:40 BUG #19513: pg_upgrade fails with orphan records in pg_init_priv catalog table
Previous Message Srinath Reddy Sadipiralla 2026-06-06 06:27:38 Re: BUG #19491: Segmentation fault triggered by IS NULL