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=d_=STa4RHWHk7AGZ1RAZYKMtJxGMsw0Mrdb8s6CHdvbw@mail.gmail.com
Whole thread Raw
In response to Re: Extended Statistics set/restore/clear functions.  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-hackers
On Sat, Jun 21, 2025 at 8:12 PM Corey Huinker <corey.huinker@gmail.com> wrote:

Any thoughts on using/improving these structures?

Hearing no objections, here is the latest patchset.

0001 - Changes input/output functions of pg_ndistinct to the format described earlier.
0002 - Changes input/output functions of pg_dependencies to the format described earlier.
0003 - Makes some previously internal/static attribute stats functions visible to extended_stats.c, because the exprs attribute is basically an array of partially filled-out pg_statistic rows.
0004 - Adds pg_restore_attribute_stats(), pg_clear_attribute_stats(), in the pattern of their relation/attribute brethren.
0005 - adds the dumping and restoring of extended statistics back to v10. No command line flag changes needed.
 

Rebased. Enjoy.
 
Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Parallel Apply
Next
From: Tomas Vondra
Date:
Subject: Re: index prefetching