Re: several attstattarget-related improvements

2023-07-02 Thread Peter Eisentraut
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 stati

Re: several attstattarget-related improvements

2023-06-28 Thread Tom Lane
Tomas Vondra writes: > On 6/28/23 16:52, Peter Eisentraut wrote: >> - 0001: Change type of pg_statistic_ext.stxstattarget, to match >> attstattarget.  Maybe this should go into PG16, for consistency? > Not sure about 0001 vs PG16, it'd require catversion bump. Yeah, past beta1 I think we should

Re: several attstattarget-related improvements

2023-06-28 Thread Tomas Vondra
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 hardc

several attstattarget-related improvements

2023-06-28 Thread Peter Eisentraut
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 o