From: | Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Convert pre-existing stats_ext tests to new style |
Date: | 2019-04-15 22:03:21 |
Message-ID: | E1hG9hB-0001rt-Ic@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Convert pre-existing stats_ext tests to new style
The regression tests added in commit 7300a69950 test cardinality
estimates using a function that extracts the interesting pieces
from the EXPLAIN output, instead of testing the whole plan. That
seems both easier to understand and less fragile, so this applies
the same approach to pre-existing tests of ndistinct coefficients
and functional dependencies.
Discussion: https://postgr.es/m/dfdac334-9cf2-2597-fb27-f0fb3753f435@2ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/dbb984128ebf6b4bd6f12b4579ee9103ef1ca749
Modified Files
--------------
src/test/regress/expected/stats_ext.out | 526 ++++++++++++--------------------
src/test/regress/sql/stats_ext.sql | 150 ++++-----
2 files changed, 257 insertions(+), 419 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2019-04-15 23:33:05 | pgsql: Use [FLEXIBLE_ARRAY_MEMBER] not [1] in MultiSortSupportData. |
Previous Message | Tom Lane | 2019-04-15 20:47:13 | pgsql: Fix failure with textual partition hash keys. |