| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add test for pg_restore_extended_stats() with multiranges |
| Date: | 2026-01-29 03:38:51 |
| Message-ID: | E1vlIrr-003JBK-03@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add test for pg_restore_extended_stats() with multiranges
The restore of extended statistics has some paths dedicated to
multirange types and expressions for all the stats kinds supported, and
we did not have coverage for the case where an extended stats object
uses a multirange attribute with or without an expression.
Extracted from a larger patch by the same author, with a couple of
tweaks from me regarding the format of the output generated, to make it
more readable to the eye.
Author: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Reviewed-by: 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/0b7beec42ae2924f94410bded81f75f6f4eadd34
Modified Files
--------------
src/test/regress/expected/stats_import.out | 62 ++++++++++++++++++++++++++++++
src/test/regress/sql/stats_import.sql | 41 ++++++++++++++++++++
2 files changed, 103 insertions(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2026-01-29 04:25:19 | pgsql: Add test doing some cloning of extended statistics data |
| Previous Message | Amit Kapila | 2026-01-29 03:33:02 | pgsql: Fix CI failure introduced in commit 851f6649cc. |