pgsql: Add regression tests for psql's \o and \g on files

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add regression tests for psql's \o and \g on files
Date: 2022-11-30 05:47:15
Message-ID: E1p0FwA-001OSE-He@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2022-11-30 07:07:01 Re: pgsql: Revoke PUBLIC CREATE from public schema, now owned by pg_databas
Previous Message Bruce Momjian 2022-11-30 01:50:18 pgsql: doc: add transaction processing chapter with internals info