Re: several attstattarget-related improvements

From: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: several attstattarget-related improvements
Date: 2023-06-28 21:30:11
Message-ID: 982aade8-f862-f62b-f628-f93432ab1ec6@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

regards

--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2023-06-28 21:45:36 Re: POC, WIP: OR-clause support for indexes
Previous Message Tomas Vondra 2023-06-28 21:26:00 Re: Changing types of block and chunk sizes in memory contexts