Skip to content

Commit 727921f

Browse files
committed
Hide cascade messages in collate tests
These are not relevant to the tests and would just uselessly bloat patches.
1 parent bdd9a99 commit 727921f

File tree

4 files changed

+4
-38
lines changed

4 files changed

+4
-38
lines changed

src/test/regress/expected/collate.icu.utf8.out

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,26 +1101,8 @@ select textrange_en_us('A','Z') @> 'b'::text;
11011101
drop type textrange_c;
11021102
drop type textrange_en_us;
11031103
-- cleanup
1104+
SET client_min_messages TO warning;
11041105
DROP SCHEMA collate_tests CASCADE;
1105-
NOTICE: drop cascades to 18 other objects
1106-
DETAIL: drop cascades to table collate_test1
1107-
drop cascades to table collate_test_like
1108-
drop cascades to table collate_test2
1109-
drop cascades to table collate_test3
1110-
drop cascades to type testdomain_sv
1111-
drop cascades to table collate_test4
1112-
drop cascades to table collate_test5
1113-
drop cascades to table collate_test10
1114-
drop cascades to table collate_test6
1115-
drop cascades to view collview1
1116-
drop cascades to view collview2
1117-
drop cascades to view collview3
1118-
drop cascades to type testdomain
1119-
drop cascades to function mylt(text,text)
1120-
drop cascades to function mylt_noninline(text,text)
1121-
drop cascades to function mylt_plpgsql(text,text)
1122-
drop cascades to function mylt2(text,text)
1123-
drop cascades to function dup(anyelement)
11241106
RESET search_path;
11251107
-- leave a collation for pg_upgrade test
11261108
CREATE COLLATION coll_icu_upgrade FROM "und-x-icu";

src/test/regress/expected/collate.linux.utf8.out

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,23 +1118,5 @@ select textrange_en_us('A','Z') @> 'b'::text;
11181118
drop type textrange_c;
11191119
drop type textrange_en_us;
11201120
-- cleanup
1121+
SET client_min_messages TO warning;
11211122
DROP SCHEMA collate_tests CASCADE;
1122-
NOTICE: drop cascades to 18 other objects
1123-
DETAIL: drop cascades to table collate_test1
1124-
drop cascades to table collate_test_like
1125-
drop cascades to table collate_test2
1126-
drop cascades to table collate_test3
1127-
drop cascades to type testdomain_sv
1128-
drop cascades to table collate_test4
1129-
drop cascades to table collate_test5
1130-
drop cascades to table collate_test10
1131-
drop cascades to table collate_test6
1132-
drop cascades to view collview1
1133-
drop cascades to view collview2
1134-
drop cascades to view collview3
1135-
drop cascades to type testdomain
1136-
drop cascades to function mylt(text,text)
1137-
drop cascades to function mylt_noninline(text,text)
1138-
drop cascades to function mylt_plpgsql(text,text)
1139-
drop cascades to function mylt2(text,text)
1140-
drop cascades to function dup(anyelement)

src/test/regress/sql/collate.icu.utf8.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ drop type textrange_en_us;
426426

427427

428428
-- cleanup
429+
SET client_min_messages TO warning;
429430
DROP SCHEMA collate_tests CASCADE;
430431
RESET search_path;
431432

src/test/regress/sql/collate.linux.utf8.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,4 +429,5 @@ drop type textrange_en_us;
429429

430430

431431
-- cleanup
432+
SET client_min_messages TO warning;
432433
DROP SCHEMA collate_tests CASCADE;

0 commit comments

Comments
 (0)