| From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add convenience view to stats import test. |
| Date: | 2026-03-13 20:05:07 |
| Message-ID: | E1w18ks-00019j-0p@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add convenience view to stats import test.
Presently, many statements in stats_import.sql select all columns
from the pg_stats system view. A proposed follow-up commit would
add columns to this view (some of which are not stable across test
runs), breaking all of these tests. This commit introduces a
convenience view for those statements so that future changes are
minimally disruptive.
Author: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Reviewed-by: Sami Imseih <samimseih(at)gmail(dot)com>
Discussion: https://postgr.es/m/CADkLM%3DcoCVy92QkVUUTLdo5eO2bMDtwMrzRn_8miAhX%2BuPaqXg%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/233bbdf031e4832a409e3028b45d709e7ddb93c9
Modified Files
--------------
src/test/regress/expected/stats_import.out | 65 ++++++++++++++++++------------
src/test/regress/sql/stats_import.sql | 61 +++++++++++++++++-----------
2 files changed, 76 insertions(+), 50 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2026-03-13 20:37:29 | Re: pgsql: CREATE SUBSCRIPTION ... SERVER. |
| Previous Message | Andres Freund | 2026-03-13 17:55:47 | pgsql: Fix bug due to confusion about what IsMVCCSnapshot means |