agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add test with multirange type for pg_restore_attribute_stats()
Date: Mon, 26 Jan 2026 04:32:29 +0000
Message-ID: <E1vkEH6-002fsn-2g@gemulon.postgresql.org> (raw)
Add test with multirange type for pg_restore_attribute_stats()
This commit adds a test for pg_restore_attribute_stats() with the
injection of statistics related to a multirange type. This case is
supported in statatt_get_type() since its introduction in ce207d2a7901,
but there was no test in the main regression test suite to check for the
case where attribute stats is restored for a multirange type, as done by
multirange_typanalyze().
Author: Corey Huinker <corey.huinker@gmail.com>
Discussion: https://postgr.es/m/CADkLM=c3JivzHNXLt-X_JicYknRYwLTiOCHOPiKagm2_vdrFUg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d4504d6f60e07516cd3b0311054e6f8e74496281
Modified Files
--------------
src/test/regress/expected/stats_import.out | 29 ++++++++++++++++++++++++++++-
src/test/regress/sql/stats_import.sql | 24 ++++++++++++++++++++++++
2 files changed, 52 insertions(+), 1 deletion(-)
view thread (2+ messages) latest in thread
Message-ID: <E1vkEH6-002fsn-2g@gemulon.postgresql.org>
Permalink: ../E1vkEH6-002fsn-2g@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1vkEH6-002fsn-2g@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 test with multirange type for pg_restore_attribute_stats()
In-Reply-To: <E1vkEH6-002fsn-2g@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox