From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Convert pre-existing stats_ext tests to new style
Date: Mon, 15 Apr 2019 22:03:21 +0000
Message-ID: <E1hG9hB-0001rt-Ic@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tomas.vondra@postgresql.org
Subject: Re: pgsql: Convert pre-existing stats_ext tests to new style
In-Reply-To: <E1hG9hB-0001rt-Ic@gemulon.postgresql.org>
References: <E1hG9hB-0001rt-Ic@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox