| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add routine to free MCVList |
| Date: | 2026-01-20 04:26:43 |
| Message-ID: | E1vi3KF-001XLu-06@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add routine to free MCVList
This addition is in the same spirit as 32e27bd32082 for MVNDistinct and
MVDependencies, except that we were missing a free routine for the third
type of extended statistics, MCVList. I was not sure if we needed an
equivalent for MCVList, but after more review of the main patch set for
the import of extended statistics, it has become clear that we do.
This is introduced as its own change as this routine can be useful on
its own. This one is a piece that has not been written by Corey
Huinker, I have just noticed it by myself on the way.
Author: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/CADkLM=dpz3KFnqP-dgJ-zvRvtjsa8UZv8wDAQdqho=qN3kX0Zg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7ebb64c557570647e3fcf6f5f1549e882ed26489
Modified Files
--------------
src/backend/statistics/mcv.c | 16 ++++++++++++++++
src/include/statistics/extended_stats_internal.h | 1 +
2 files changed, 17 insertions(+)
| From | Date | Subject | |
|---|---|---|---|
| Previous Message | Bruce Momjian | 2026-01-20 03:59:32 | pgsql: doc: revert "xreflabel" used for PL/Python & libpq chapters |