Re: Extended Statistics set/restore/clear functions. - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: Extended Statistics set/restore/clear functions.
Date
Msg-id CADkLM=eLYkp=MUTLeu9C5wawON=+DbYyQedOkSH0fwpLS5m=tQ@mail.gmail.com
Whole thread Raw
In response to Re: Extended Statistics set/restore/clear functions.  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Extended Statistics set/restore/clear functions.
List pgsql-hackers
On Tue, Nov 25, 2025 at 11:44 PM Michael Paquier <michael@paquier.xyz> wrote:
On Tue, Nov 25, 2025 at 11:37:09PM -0600, Corey Huinker wrote:
> I've reviewed what you committed and it looks good to me aside from the one
> nitpick I already made.

I was not really excited about these as it concerns only code local to
each file where the input functions are located, no routines that are
actually published for consumption by other parts of the backend.
--
Michael

So if a function were previously static to one page, but now had utility outside of that file, you would then consider changing the function signature to add the consts? I ask because this may become relevant with the statatt_* functions being moved in the remaining patches.
 

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Extended Statistics set/restore/clear functions.
Next
From: Amul Sul
Date:
Subject: Re: pg_waldump: support decoding of WAL inside tarfile