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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: Xuneng Zhou <xunengzhou(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-05 05:03:53
Message-ID: aiJYubr2rS0VRtvo@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Jun 05, 2026 at 08:00:00AM +0300, Alexander Lakhin wrote:
> As far as I can see, that rand() gives the same sequence on macOS each run,
> while on Linux I see different sequences.

Aye. I have used that before sending the patch, reproducing the
failure before-patch, getting things to work after-patch.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Srinath Reddy Sadipiralla 2026-06-05 06:09:03 Re: BUG #19500: pgrepack logical decoding plugin can crash assert builds via SQL decoding API
Previous Message Alexander Lakhin 2026-06-05 05:00:00 Re: BUG #18158: Assert in pgstat_report_stat() fails when a backend shutting down with stats pending