Re: pgstat: allow a stats kind to use its own dedicated dsa/dshash

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: Sami Imseih <samimseih(dot)pg(at)gmail(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgstat: allow a stats kind to use its own dedicated dsa/dshash
Date: 2026-10-14 16:50:41
Message-ID: CAN4CZFMxuOOuYV14+i3YcPG-16q02eBtSVa82J111=ZnDwSicA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>
>> I have done another pass, adjusting a few things on the way, and
>> applied all that.
>> --
>> Michael
>
>
> Thanks!
>

Hello!

An automatic claude review pointed out that a stats file hash entry
for a fixed-numbered kind now crashes during startup.

The attached patch fixes this and includes a simple test case in it to
show the issue.

Attachment Content-Type Size
nocfbot-v1-0001-Fix-crash-at-startup-with-stats-file-entry-of-fix.patch application/octet-stream 7.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Aidar Imamov 2026-10-14 17:11:38 Re: meson: pass OpenSSL/ICU include dirs to extensions
Previous Message Haibo Yan 2026-10-14 16:24:30 Re: Reducing relcache memory usage 2: shrink sizeof(RelationData)