psql: Add various tests
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 29 Sep 2021 21:16:00 +0000 (23:16 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 29 Sep 2021 21:17:10 +0000 (23:17 +0200)
commit14d755b00037ce04b9e24504f4b540d9e731c29e
tree61a75b4e29dea3ca3fc29fa174168d25f1c1823d
parentff9f111bce24fd9bbca7a20315586de877d74923
psql: Add various tests

Add tests for psql features

- AUTOCOMMIT
- ON_ERROR_ROLLBACK
- ECHO errors

Reviewed-by: Fabien COELHO <coelho@cri.ensmp.fr>
Discussion: https://www.postgresql.org/message-id/6954328d-96f2-77f7-735f-7ce493a40949%40enterprisedb.com
src/test/regress/expected/psql.out
src/test/regress/sql/psql.sql