From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add regression tests for psql's \o and \g on files
Date: Wed, 30 Nov 2022 05:47:15 +0000
Message-ID: <E1p0FwA-001OSE-He@gemulon.postgresql.org> (raw)
Add regression tests for psql's \o and \g on files
This adds coverage for a few scenarios not checked yet in psql, with
multiple query combined across files defined by \o, \g or both at the
same time. The results are saved in the output files defined, then
reloaded back to check what has been written to them.
Author: Daniel Verite
Discussion: https://postgr.es/m/25c2bb5b-9012-40f8-8088-774cb764046d@manitou-mail.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d2a4490401f2ddc878134a1fd75ef4482e403e47
Modified Files
--------------
src/test/regress/expected/psql.out | 131 +++++++++++++++++++++++++++++++++++++
src/test/regress/sql/psql.sql | 64 ++++++++++++++++++
2 files changed, 195 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: michael@paquier.xyz
Subject: Re: pgsql: Add regression tests for psql's \o and \g on files
In-Reply-To: <E1p0FwA-001OSE-He@gemulon.postgresql.org>
References: <E1p0FwA-001OSE-He@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