several attstattarget-related improvements

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: several attstattarget-related improvements
Date: 2023-06-28 14:52:27
Message-ID: d6069765-5971-04d3-c10d-e4f7b2e9c459@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Attachment Content-Type Size
0001-Change-type-of-pg_statistic_ext.stxstattarget.patch text/plain 2.9 KB
0002-Add-macro-for-maximum-statistics-target.patch text/plain 5.2 KB
0003-Take-pg_attribute-out-of-VacAttrStats.patch text/plain 14.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2023-06-28 16:27:59 Re: eqjoinsel_semi still sucks ...
Previous Message Tom Lane 2023-06-28 14:09:41 Re: Assert !bms_overlap(joinrel->relids, required_outer)