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

Started by Michael Paquierover 3 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/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(+)