aboutsummaryrefslogtreecommitdiff
path: root/src/test/regress/sql/psql.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/regress/sql/psql.sql')
-rw-r--r--src/test/regress/sql/psql.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/regress/sql/psql.sql b/src/test/regress/sql/psql.sql
index 0a4be827d88..94a54d6fd8d 100644
--- a/src/test/regress/sql/psql.sql
+++ b/src/test/regress/sql/psql.sql
@@ -119,6 +119,14 @@ SELECT 1 AS x, 'Hello', 2 AS y, true AS "dirty\name"
-- all on one line
SELECT 3 AS x, 'Hello', 4 AS y, true AS "dirty\name" \gdesc \g
+-- test for server bug #17983 with empty statement in aborted transaction
+set search_path = default;
+begin;
+bogus;
+;
+\gdesc
+rollback;
+
-- \gexec
create temporary table gexec_test(a int, b text, c date, d float);