diff options
| author | Peter Eisentraut | 2020-06-13 07:03:28 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2020-06-13 07:19:30 +0000 |
| commit | 8f5b5967441f05e56446fa4cdeffd0774c01e553 (patch) | |
| tree | b9f50e27f0b54746a7734b6ec73758695651de13 /src/test/modules | |
| parent | a332b366d4fa19ee3578a864993a8dc7abb47177 (diff) | |
Refactor AlterExtensionContentsStmt grammar
Make use of the general object support already used by COMMENT, DROP,
and SECURITY LABEL.
Discussion: https://www.postgresql.org/message-id/flat/163c00a5-f634-ca52-fc7c-0e53deda8735%402ndquadrant.com
Diffstat (limited to 'src/test/modules')
| -rw-r--r-- | src/test/modules/test_pg_dump/expected/test_pg_dump.out | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/modules/test_pg_dump/expected/test_pg_dump.out b/src/test/modules/test_pg_dump/expected/test_pg_dump.out index a50eaf6125d..f14f3a66646 100644 --- a/src/test/modules/test_pg_dump/expected/test_pg_dump.out +++ b/src/test/modules/test_pg_dump/expected/test_pg_dump.out @@ -1,9 +1,7 @@ CREATE ROLE regress_dump_test_role; CREATE EXTENSION test_pg_dump; ALTER EXTENSION test_pg_dump ADD DATABASE postgres; -- error -ERROR: syntax error at or near "DATABASE" -LINE 1: ALTER EXTENSION test_pg_dump ADD DATABASE postgres; - ^ +ERROR: cannot add an object of this type to an extension CREATE TABLE test_pg_dump_t1 (c1 int, junk text); ALTER TABLE test_pg_dump_t1 DROP COLUMN junk; -- to exercise dropped-col cases CREATE VIEW test_pg_dump_v1 AS SELECT * FROM test_pg_dump_t1; |
