From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve regression test coverage for psql output formats.
Date: Mon, 26 Nov 2018 17:41:49 +0000
Message-ID: <E1gRKtJ-0006t0-1N@gemulon.postgresql.org> (raw)
Improve regression test coverage for psql output formats.
As penance for the "\pset format latex" silliness, add some regression
test coverage for the off-the-beaten-path output formats, which formerly
had exactly no coverage, except for some poorly-thought-out (unreadable,
repetitive, and incomplete) tests for asciidoc format.
I make no claims for the behavior exposed here actually being correct;
these test cases are just designed to ensure full code coverage in
fe_utils/print.c. This brings the line coverage for that file up
from ~60% to ~93%.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9a98984f4999b80435bcdcddf90bf9f3e5fc9df0
Modified Files
--------------
src/test/regress/expected/psql.out | 1509 ++++++++++++++++++++++++++++++++----
src/test/regress/sql/psql.sql | 282 ++++++-
2 files changed, 1639 insertions(+), 152 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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Improve regression test coverage for psql output formats.
In-Reply-To: <E1gRKtJ-0006t0-1N@gemulon.postgresql.org>
References: <E1gRKtJ-0006t0-1N@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