aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2017-01-26 17:45:22 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2017-01-26 17:45:22 -0300
commit331f8c311b7ba4b24158071ab2fb2e07bb8377b0 (patch)
tree97a197e69f470c94938c1a42918b1f29b82437ac /src
parente630faacd8a0c998db105a7d3fca063eb29b0eea (diff)
downloadpostgresql-331f8c311b7ba4b24158071ab2fb2e07bb8377b0.tar.gz
postgresql-331f8c311b7ba4b24158071ab2fb2e07bb8377b0.zip
Remove test for COMMENT ON DATABASE
Our current DDL only allows a database name to be specified in COMMENT ON DATABASE, which Andrew Dunstan reports to make this test fail on the buildfarm. Remove the line until we gain a DDL command that allows the current database to be operated on without having the specify it by name. Backpatch to 9.5, where these tests appeared. Discussion: https://postgr.es/m/e6084b89-07a7-7e57-51ee-d7b8fc9ec864@2ndQuadrant.com
Diffstat (limited to 'src')
-rw-r--r--src/test/modules/test_ddl_deparse/expected/comment_on.out2
-rw-r--r--src/test/modules/test_ddl_deparse/sql/comment_on.sql3
2 files changed, 0 insertions, 5 deletions
diff --git a/src/test/modules/test_ddl_deparse/expected/comment_on.out b/src/test/modules/test_ddl_deparse/expected/comment_on.out
index 4ebc89d611f..8ce01e0f748 100644
--- a/src/test/modules/test_ddl_deparse/expected/comment_on.out
+++ b/src/test/modules/test_ddl_deparse/expected/comment_on.out
@@ -21,5 +21,3 @@ COMMENT ON TRIGGER trigger_1 ON datatype_table IS 'TRIGGER test';
NOTICE: DDL test: type simple, tag COMMENT
COMMENT ON RULE rule_1 IS 'RULE test';
NOTICE: DDL test: type simple, tag COMMENT
--- should not fire
-COMMENT ON DATABASE contrib_regression IS 'contrib regression';
diff --git a/src/test/modules/test_ddl_deparse/sql/comment_on.sql b/src/test/modules/test_ddl_deparse/sql/comment_on.sql
index 69114c32298..734d493d5ad 100644
--- a/src/test/modules/test_ddl_deparse/sql/comment_on.sql
+++ b/src/test/modules/test_ddl_deparse/sql/comment_on.sql
@@ -12,6 +12,3 @@ COMMENT ON VIEW datatype_view IS 'This is a view';
COMMENT ON FUNCTION c_function_test() IS 'FUNCTION test';
COMMENT ON TRIGGER trigger_1 ON datatype_table IS 'TRIGGER test';
COMMENT ON RULE rule_1 IS 'RULE test';
-
--- should not fire
-COMMENT ON DATABASE contrib_regression IS 'contrib regression';