aboutsummaryrefslogtreecommitdiff
path: root/src/test/regress/expected/errors.out
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/regress/expected/errors.out')
-rw-r--r--src/test/regress/expected/errors.out5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/regress/expected/errors.out b/src/test/regress/expected/errors.out
index ce473a03efd..cc1cdc0dd02 100644
--- a/src/test/regress/expected/errors.out
+++ b/src/test/regress/expected/errors.out
@@ -50,6 +50,11 @@ select distinct on (foobar) * from pg_database;
ERROR: column "foobar" does not exist
LINE 1: select distinct on (foobar) * from pg_database;
^
+-- grouping with FOR UPDATE
+select null from pg_database group by datname for update;
+ERROR: FOR UPDATE is not allowed with GROUP BY clause
+select null from pg_database group by grouping sets (()) for update;
+ERROR: FOR UPDATE is not allowed with GROUP BY clause
--
-- DELETE
-- missing relation name (this had better not wildcard!)