Add test for pg_restore_extended_stats() with multiranges
Michael Paquier <michael@paquier.xyz>
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.huinker@gmail.com> Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/CADkLM=dpz3KFnqP-dgJ-zvRvtjsa8UZv8wDAQdqho=qN3kX0Zg@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/stats_import.out | modified | +62 −0 |
| src/test/regress/sql/stats_import.sql | modified | +41 −0 |
Discussion
- Extended Statistics set/restore/clear functions. 140 messages · 2025-01-22 → 2026-01-29