Fix thinko in psql test
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 18 Jan 2022 15:53:41 +0000 (16:53 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 18 Jan 2022 15:53:41 +0000 (16:53 +0100)
The tests added by 14d755b00037ce04b9e24504f4b540d9e731c29e added a
test case for psql's \set ECHO errors.  After the test, it then reset
this to \set ECHO none, which is the default.  But the regression
tests are actually run under \set ECHO all (psql -a), so that would
have been the correct way to restore the previous state.  Otherwise,
test cases added after that point would not have their input lines
displayed.  This was never the intention, so fix this now.

src/test/regress/sql/psql.sql

index d4e4fdbbb75c79e1250923809074c0f6f7c0c05c..0f5287f77bfa91e338517ee944bfdadaf9abc35d 100644 (file)
@@ -1315,4 +1315,4 @@ DROP TABLE oer_test;
 -- ECHO errors
 \set ECHO errors
 SELECT * FROM notexists;
-\set ECHO none
+\set ECHO all