From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve test coverage for functional dependencies
Date: Sat, 14 Mar 2020 22:10:23 +0000
Message-ID: <E1jDEz9-0001qd-Vc@gemulon.postgresql.org> (raw)
Improve test coverage for functional dependencies
The regression tests for functional dependencies were only using clauses
of the form (Var op Const), i.e. with Var on the left side. This adds
a couple of queries with Var on the right, to test other code paths.
It also prints one of the functional dependencies, to test the data type
output function. The functional dependencies are "perfect" with degree
of 1.0 so this should be stable.
Discussion: https://www.postgresql.org/message-id/flat/20200113230008.g67iyk4cs3xbnjju@development
Author: Tomas Vondra
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f9696782c70168e575c0f2d17a1cfe71847fef3d
Modified Files
--------------
src/test/regress/expected/stats_ext.out | 31 +++++++++++++++++++++++++++++++
src/test/regress/sql/stats_ext.sql | 7 +++++++
2 files changed, 38 insertions(+)
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: Improve test coverage for functional dependencies
In-Reply-To: <E1jDEz9-0001qd-Vc@gemulon.postgresql.org>
References: <E1jDEz9-0001qd-Vc@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