]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add convenience view to stats import test.
authorNathan Bossart <nathan@postgresql.org>
Fri, 13 Mar 2026 20:04:10 +0000 (15:04 -0500)
committerNathan Bossart <nathan@postgresql.org>
Fri, 13 Mar 2026 20:04:10 +0000 (15:04 -0500)
commit233bbdf031e4832a409e3028b45d709e7ddb93c9
tree4881ddfdc913c8016d959ebc852c3e246a02035f
parentce5d489166e5c8437aa1a35f462f67f1aeae87d4
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.huinker@gmail.com>
Reviewed-by: Sami Imseih <samimseih@gmail.com>
Discussion: https://postgr.es/m/CADkLM%3DcoCVy92QkVUUTLdo5eO2bMDtwMrzRn_8miAhX%2BuPaqXg%40mail.gmail.com
src/test/regress/expected/stats_import.out
src/test/regress/sql/stats_import.sql