Commit 05f110cc authored by Peter Geoghegan's avatar Peter Geoghegan

Suppress DETAIL output from an event_trigger test.

Suppress 3 lines of unstable DETAIL output from a DROP ROLE statement in
event_trigger.sql.  This is further cleanup for commit dd299df8.

Note that the event_trigger test instability issue is very similar to
the recently suppressed foreign_data test instability issue.  Both
issues involve DETAIL output for a DROP ROLE statement that needed to be
changed as part of dd299df8.

Per buildfarm member macaque.
parent 29b64d1d
...@@ -185,11 +185,11 @@ alter event trigger regress_event_trigger rename to regress_event_trigger3; ...@@ -185,11 +185,11 @@ alter event trigger regress_event_trigger rename to regress_event_trigger3;
drop event trigger regress_event_trigger; drop event trigger regress_event_trigger;
ERROR: event trigger "regress_event_trigger" does not exist ERROR: event trigger "regress_event_trigger" does not exist
-- should fail, regress_evt_user owns some objects -- should fail, regress_evt_user owns some objects
-- use terse mode to avoid ordering issues in DROP ROLE detail output
\set VERBOSITY terse
drop role regress_evt_user; drop role regress_evt_user;
ERROR: role "regress_evt_user" cannot be dropped because some objects depend on it ERROR: role "regress_evt_user" cannot be dropped because some objects depend on it
DETAIL: owner of user mapping for regress_evt_user on server useless_server \set VERBOSITY default
owner of default privileges on new relations belonging to role regress_evt_user
owner of event trigger regress_event_trigger3
-- cleanup before next test -- cleanup before next test
-- these are all OK; the second one should emit a NOTICE -- these are all OK; the second one should emit a NOTICE
drop event trigger if exists regress_event_trigger2; drop event trigger if exists regress_event_trigger2;
......
...@@ -157,7 +157,10 @@ alter event trigger regress_event_trigger rename to regress_event_trigger3; ...@@ -157,7 +157,10 @@ alter event trigger regress_event_trigger rename to regress_event_trigger3;
drop event trigger regress_event_trigger; drop event trigger regress_event_trigger;
-- should fail, regress_evt_user owns some objects -- should fail, regress_evt_user owns some objects
-- use terse mode to avoid ordering issues in DROP ROLE detail output
\set VERBOSITY terse
drop role regress_evt_user; drop role regress_evt_user;
\set VERBOSITY default
-- cleanup before next test -- cleanup before next test
-- these are all OK; the second one should emit a NOTICE -- these are all OK; the second one should emit a NOTICE
......
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