Remove test for COMMENT ON DATABASE
authorAlvaro Herrera <[email protected]>
Thu, 26 Jan 2017 20:45:22 +0000 (17:45 -0300)
committerAlvaro Herrera <[email protected]>
Thu, 26 Jan 2017 20:45:22 +0000 (17:45 -0300)
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

src/test/modules/test_ddl_deparse/sql/comment_on.sql

index 69114c32298f76e9c149ddd193f18949e8486da4..734d493d5ad5cfc035a5ed482318473eb8a0a0d2 100644 (file)
@@ -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';