File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -439,11 +439,10 @@ GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_indirect;
439439SET ROLE regress_test_role;
440440ALTER SERVER s1 OWNER TO regress_test_indirect;
441441RESET ROLE;
442- -- We use terse mode to avoid ordering issues in detail output.
443- \set VERBOSITY terse
444442DROP ROLE regress_test_indirect; -- ERROR
445443ERROR: role "regress_test_indirect" cannot be dropped because some objects depend on it
446- \set VERBOSITY default
444+ DETAIL: privileges for foreign-data wrapper foo
445+ owner of server s1
447446\des+
448447 List of foreign servers
449448 Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW options | Description
@@ -1204,6 +1203,7 @@ ERROR: permission denied for foreign-data wrapper foo
12041203ALTER SERVER s9 VERSION '1.1';
12051204GRANT USAGE ON FOREIGN SERVER s9 TO regress_test_role;
12061205CREATE USER MAPPING FOR current_user SERVER s9;
1206+ -- We use terse mode to avoid ordering issues in cascade detail output.
12071207\set VERBOSITY terse
12081208DROP SERVER s9 CASCADE;
12091209NOTICE: drop cascades to 2 other objects
Original file line number Diff line number Diff line change @@ -199,10 +199,7 @@ GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_indirect;
199199SET ROLE regress_test_role;
200200ALTER SERVER s1 OWNER TO regress_test_indirect;
201201RESET ROLE;
202- -- We use terse mode to avoid ordering issues in detail output.
203- \set VERBOSITY terse
204202DROP ROLE regress_test_indirect; -- ERROR
205- \set VERBOSITY default
206203\des+
207204
208205ALTER SERVER s8 RENAME to s8new;
@@ -504,6 +501,7 @@ CREATE SERVER s10 FOREIGN DATA WRAPPER foo; -- ERROR
504501ALTER SERVER s9 VERSION ' 1.1' ;
505502GRANT USAGE ON FOREIGN SERVER s9 TO regress_test_role;
506503CREATE USER MAPPING FOR current_user SERVER s9;
504+ -- We use terse mode to avoid ordering issues in cascade detail output.
507505\set VERBOSITY terse
508506DROP SERVER s9 CASCADE;
509507\set VERBOSITY default
You can’t perform that action at this time.
0 commit comments