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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Alexander Lakhin <exclusion@gmail.com>
Cc: Xuneng Zhou <xunengzhou@gmail.com>, pgsql-bugs@lists.postgresql.org
Date: 2026-06-06T00:13:44Z
Lists: pgsql-bugs
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.
--
Michael

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Lift shutdown assertion in pgstats for WAL senders