Commit 331f8c31 authored by Alvaro Herrera's avatar Alvaro Herrera

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
parent e630faac
...@@ -21,5 +21,3 @@ COMMENT ON TRIGGER trigger_1 ON datatype_table IS 'TRIGGER test'; ...@@ -21,5 +21,3 @@ COMMENT ON TRIGGER trigger_1 ON datatype_table IS 'TRIGGER test';
NOTICE: DDL test: type simple, tag COMMENT NOTICE: DDL test: type simple, tag COMMENT
COMMENT ON RULE rule_1 IS 'RULE test'; COMMENT ON RULE rule_1 IS 'RULE test';
NOTICE: DDL test: type simple, tag COMMENT NOTICE: DDL test: type simple, tag COMMENT
-- should not fire
COMMENT ON DATABASE contrib_regression IS 'contrib regression';
...@@ -12,6 +12,3 @@ COMMENT ON VIEW datatype_view IS 'This is a view'; ...@@ -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 FUNCTION c_function_test() IS 'FUNCTION test';
COMMENT ON TRIGGER trigger_1 ON datatype_table IS 'TRIGGER test'; COMMENT ON TRIGGER trigger_1 ON datatype_table IS 'TRIGGER test';
COMMENT ON RULE rule_1 IS 'RULE test'; COMMENT ON RULE rule_1 IS 'RULE test';
-- should not fire
COMMENT ON DATABASE contrib_regression IS 'contrib regression';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment