Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfff518d

Browse files
Revert "Suppress DETAIL output from a foreign_data test."
This should be superseded by commit8aa9dd7.
1 parent03ae9d5 commitfff518d

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 USAGEON FOREIGN SERVER s9 TO regress_test_role;
506503
CREATEUSERMAPPING FORcurrent_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)

[8]ページ先頭

©2009-2025 Movatter.jp