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

Commit625744a

Browse files
committed
Use terse mode to avoid variable order dependency output in foreign data regression check.
Per Tom Lane's suggestion about my gripe about occasional errors noticed on the buildfarm.
1 parent860be17 commit625744a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

‎src/test/regress/expected/foreign_data.out

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,13 +1086,12 @@ DROP SERVER t1 CASCADE;
10861086
NOTICE: drop cascades to user mapping for public
10871087
DROP SERVER t2;
10881088
DROP USER MAPPING FOR regress_test_role SERVER s6;
1089+
-- This test causes some order dependent cascade detail output,
1090+
-- so switch to terse mode for it.
1091+
\set VERBOSITY terse
10891092
DROP FOREIGN DATA WRAPPER foo CASCADE;
10901093
NOTICE: drop cascades to 5 other objects
1091-
DETAIL: drop cascades to server s4
1092-
drop cascades to user mapping for foreign_data_user
1093-
drop cascades to server s6
1094-
drop cascades to server s9
1095-
drop cascades to user mapping for unprivileged_role
1094+
\set VERBOSITY default
10961095
DROP SERVER s8 CASCADE;
10971096
NOTICE: drop cascades to 2 other objects
10981097
DETAIL: drop cascades to user mapping for foreign_data_user

‎src/test/regress/sql/foreign_data.sql

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,11 @@ DROP SERVER s5 CASCADE;
443443
DROP SERVER t1 CASCADE;
444444
DROP SERVER t2;
445445
DROPUSER MAPPING FOR regress_test_role SERVER s6;
446+
-- This test causes some order dependent cascade detail output,
447+
-- so switch to terse mode for it.
448+
\set VERBOSITY terse
446449
DROP FOREIGN DATA WRAPPER foo CASCADE;
450+
\set VERBOSITY default
447451
DROP SERVER s8 CASCADE;
448452
DROP ROLE regress_test_indirect;
449453
DROP ROLE regress_test_role;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp