Re: several attstattarget-related improvements
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Tomas Vondra <tomas.vondra@enterprisedb.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-07-03T05:26:12Z
Lists: pgsql-hackers
On 28.06.23 23:30, Tomas Vondra wrote: > On 6/28/23 16:52, Peter Eisentraut wrote: >> Here are a few patches related to attstattarget: >> >> - 0001: Change type of pg_statistic_ext.stxstattarget, to match >> attstattarget. Maybe this should go into PG16, for consistency? >> >> - 0002: Add macro for maximum statistics target, instead of hardcoding >> it everywhere. >> >> - 0003: Take pg_attribute out of VacAttrStats. This simplifies some >> code, especially for extended statistics, which had to have weird >> workarounds. > > +1 to all three patches > > Not sure about 0001 vs PG16, it'd require catversion bump. committed (to PG17 for now)
Commits
-
Add macro for maximum statistics target
- 7a7f60aef8bf 17.0 landed
-
Change type of pg_statistic_ext.stxstattarget
- 3ee2f25d21fa 17.0 landed
-
Take pg_attribute out of VacAttrStats
- c69bdf837f16 17.0 landed