Re: [Proposal] Adding callback support for custom statistics kinds - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [Proposal] Adding callback support for custom statistics kinds
Date
Msg-id aTzIvl7_aXnBzH-t@paquier.xyz
Whole thread Raw
In response to Re: [Proposal] Adding callback support for custom statistics kinds  (Sami Imseih <samimseih@gmail.com>)
Responses Re: [Proposal] Adding callback support for custom statistics kinds
List pgsql-hackers
On Fri, Dec 12, 2025 at 06:41:20PM -0600, Sami Imseih wrote:
> I made some changes as well, in v8:
>
> 1/ looks like b4cbc106a6ce snuck into v7. I fixed that.

Oops, sorry about that.  I went one reset too deep..  I can see that
my local branch was also wrong, an a rebase fixed it immediately.

> 2/ After looking this over, I realized that “extra” and “auxiliary”
> were being used interchangeably. To avoid confusion, I replaced all
> instances of “extra” with “auxiliary" in both the comments and
> macros, i.e. TEST_CUSTOM_AUX_DATA_DESC

I can see what you have changed in v8 compared to v7, in terms of the
elog(), the comments and TEST_CUSTOM_AUX_DATA_DESC.  That works for
me.  If somebody has a better idea for a name, these can always be
tweaked at will.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: [Proposal] Adding callback support for custom statistics kinds
Next
From: Chao Li
Date:
Subject: Re: Fix memory leak in gist_page_items() of pageinspect