Skip to content

Commit fff518d

Browse files
Revert "Suppress DETAIL output from a foreign_data test."
This should be superseded by commit 8aa9dd7.
1 parent 03ae9d5 commit fff518d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/test/regress/expected/foreign_data.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,11 +439,10 @@ GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_indirect;
439439
SET ROLE regress_test_role;
440440
ALTER SERVER s1 OWNER TO regress_test_indirect;
441441
RESET ROLE;
442-
-- We use terse mode to avoid ordering issues in detail output.
443-
\set VERBOSITY terse
444442
DROP ROLE regress_test_indirect; -- ERROR
445443
ERROR: 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
12041203
ALTER SERVER s9 VERSION '1.1';
12051204
GRANT USAGE ON FOREIGN SERVER s9 TO regress_test_role;
12061205
CREATE USER MAPPING FOR current_user SERVER s9;
1206+
-- We use terse mode to avoid ordering issues in cascade detail output.
12071207
\set VERBOSITY terse
12081208
DROP SERVER s9 CASCADE;
12091209
NOTICE: drop cascades to 2 other objects

src/test/regress/sql/foreign_data.sql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,7 @@ GRANT USAGE ON FOREIGN DATA WRAPPER foo TO regress_test_indirect;
199199
SET ROLE regress_test_role;
200200
ALTER SERVER s1 OWNER TO regress_test_indirect;
201201
RESET ROLE;
202-
-- We use terse mode to avoid ordering issues in detail output.
203-
\set VERBOSITY terse
204202
DROP ROLE regress_test_indirect; -- ERROR
205-
\set VERBOSITY default
206203
\des+
207204

208205
ALTER SERVER s8 RENAME to s8new;
@@ -504,6 +501,7 @@ CREATE SERVER s10 FOREIGN DATA WRAPPER foo; -- ERROR
504501
ALTER SERVER s9 VERSION '1.1';
505502
GRANT USAGE ON FOREIGN SERVER s9 TO regress_test_role;
506503
CREATE USER MAPPING FOR current_user SERVER s9;
504+
-- We use terse mode to avoid ordering issues in cascade detail output.
507505
\set VERBOSITY terse
508506
DROP SERVER s9 CASCADE;
509507
\set VERBOSITY default

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy