postgres.git / summary / log / commit / refs
commit d14315084366584bffdca1e014cd44ee81408ceb
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Tue Jan 18 15:53:41 2022 +0000
First released in: 15.0
Fix thinko in psql test
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/regress/sql/psql.sql b/src/test/regress/sql/psql.sql
index d4e4fdbbb75..0f5287f77bf 100644
--- a/src/test/regress/sql/psql.sql
+++ b/src/test/regress/sql/psql.sql
@@ -1315,4 +1315,4 @@ DROP TABLE oer_test;
-- ECHO errors
\set ECHO errors
SELECT * FROM notexists;
-\set ECHO none
+\set ECHO all
[parent: e0e567a10672]