pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add routine to free MCVList
Date: Tue, 20 Jan 2026 04:26:43 +0000
Message-ID: <E1vi3KF-001XLu-06@gemulon.postgresql.org> (raw)

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@paquier.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(+)



Message-ID: <E1vi3KF-001XLu-06@gemulon.postgresql.org>
Permalink:  ../E1vi3KF-001XLu-06@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vi3KF-001XLu-06@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add routine to free MCVList
  In-Reply-To: <E1vi3KF-001XLu-06@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox