forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8e75372
committed
Suppress less info in regression tests using DROP CASCADE.
DROP CASCADE doesn't currently promise to visit dependent objects ina fixed order, so when the regression tests use it, we typically needto suppress the details of which objects get dropped in order to havepredictable test output. Traditionally we've done that by settingclient_min_messages higher than NOTICE, but there's a better way:we can "\set VERBOSITY terse" in psql. That suppresses the DETAILmessage with the object list, but we still get the basic notice tellinghow many objects were dropped. So at least the test case can verifythat the expected number of objects were dropped.The VERBOSITY method was already in use in a few places, but runaround and use it wherever it makes sense.Discussion:https://postgr.es/m/10766.1501608885@sss.pgh.pa.us1 parent1e165d0 commit8e75372
File tree
18 files changed
+52
-56
lines changed- src/test/regress
- expected
- sql
18 files changed
+52
-56
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
673 | 673 |
| |
674 | 674 |
| |
675 | 675 |
| |
676 |
| - | |
| 676 | + | |
677 | 677 |
| |
| 678 | + | |
678 | 679 |
| |
| 680 | + | |
679 | 681 |
| |
680 | 682 |
| |
681 | 683 |
| |
| 684 | + | |
682 | 685 |
| |
| 686 | + | |
683 | 687 |
| |
684 | 688 |
| |
685 | 689 |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3064 | 3064 |
| |
3065 | 3065 |
| |
3066 | 3066 |
| |
3067 |
| - | |
| 3067 | + | |
3068 | 3068 |
| |
3069 |
| - | |
| 3069 | + |
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1707 | 1707 |
| |
1708 | 1708 |
| |
1709 | 1709 |
| |
1710 |
| - | |
| 1710 | + | |
1711 | 1711 |
| |
| 1712 | + | |
1712 | 1713 |
| |
| 1714 | + |
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
474 | 474 |
| |
475 | 475 |
| |
476 | 476 |
| |
477 |
| - | |
| 477 | + | |
478 | 478 |
| |
| 479 | + | |
479 | 480 |
| |
480 | 481 |
| |
481 | 482 |
| |
| 483 | + | |
482 | 484 |
| |
483 | 485 |
|
Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1620 | 1620 |
| |
1621 | 1621 |
| |
1622 | 1622 |
| |
1623 |
| - | |
| 1623 | + | |
1624 | 1624 |
| |
1625 |
| - | |
| 1625 | + | |
| 1626 | + | |
1626 | 1627 |
| |
1627 | 1628 |
| |
1628 | 1629 |
| |
| |||
1644 | 1645 |
| |
1645 | 1646 |
| |
1646 | 1647 |
| |
1647 |
| - | |
| 1648 | + | |
1648 | 1649 |
| |
1649 |
| - | |
| 1650 | + | |
1650 | 1651 |
| |
1651 | 1652 |
| |
1652 | 1653 |
| |
|
Lines changed: 9 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1393 | 1393 |
| |
1394 | 1394 |
| |
1395 | 1395 |
| |
1396 |
| - | |
1397 |
| - | |
| 1396 | + | |
1398 | 1397 |
| |
1399 |
| - | |
| 1398 | + | |
| 1399 | + | |
1400 | 1400 |
| |
1401 | 1401 |
| |
1402 | 1402 |
| |
| |||
2775 | 2775 |
| |
2776 | 2776 |
| |
2777 | 2777 |
| |
2778 |
| - | |
2779 |
| - | |
| 2778 | + | |
2780 | 2779 |
| |
2781 |
| - | |
| 2780 | + | |
| 2781 | + | |
2782 | 2782 |
| |
2783 | 2783 |
| |
2784 | 2784 |
| |
| |||
3902 | 3902 |
| |
3903 | 3903 |
| |
3904 | 3904 |
| |
3905 |
| - | |
3906 |
| - | |
| 3905 | + | |
3907 | 3906 |
| |
3908 |
| - | |
| 3907 | + | |
| 3908 | + | |
3909 | 3909 |
| |
3910 | 3910 |
| |
3911 | 3911 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2622 | 2622 |
| |
2623 | 2623 |
| |
2624 | 2624 |
| |
2625 |
| - | |
| 2625 | + | |
2626 | 2626 |
| |
2627 |
| - | |
| 2627 | + | |
| 2628 | + | |
2628 | 2629 |
| |
2629 | 2630 |
| |
2630 | 2631 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
125 |
| - | |
| 125 | + | |
126 | 126 |
| |
| 127 | + | |
127 | 128 |
| |
128 |
| - | |
| 129 | + | |
| 130 | + | |
129 | 131 |
| |
130 | 132 |
| |
131 | 133 |
| |
|
Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
5 | 1 |
| |
6 | 2 |
| |
7 | 3 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
573 | 573 |
| |
574 | 574 |
| |
575 | 575 |
| |
576 |
| - | |
| 576 | + | |
577 | 577 |
| |
578 | 578 |
| |
579 | 579 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1083 | 1083 |
| |
1084 | 1084 |
| |
1085 | 1085 |
| |
1086 |
| - | |
| 1086 | + | |
1087 | 1087 |
| |
1088 |
| - |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
581 | 581 |
| |
582 | 582 |
| |
583 | 583 |
| |
584 |
| - | |
| 584 | + | |
585 | 585 |
| |
586 | 586 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
204 |
| - | |
| 204 | + | |
205 | 205 |
| |
206 | 206 |
| |
207 | 207 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
981 | 981 |
| |
982 | 982 |
| |
983 | 983 |
| |
984 |
| - | |
| 984 | + | |
985 | 985 |
| |
986 |
| - | |
| 986 | + | |
987 | 987 |
| |
988 | 988 |
| |
989 | 989 |
| |
| |||
1002 | 1002 |
| |
1003 | 1003 |
| |
1004 | 1004 |
| |
1005 |
| - | |
| 1005 | + | |
1006 | 1006 |
| |
1007 |
| - | |
| 1007 | + | |
1008 | 1008 |
| |
1009 | 1009 |
| |
1010 | 1010 |
| |
|
Lines changed: 6 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
517 | 517 |
| |
518 | 518 |
| |
519 | 519 |
| |
520 |
| - | |
521 |
| - | |
522 | 520 |
| |
| 521 | + | |
523 | 522 |
| |
524 |
| - | |
| 523 | + | |
525 | 524 |
| |
526 | 525 |
| |
527 | 526 |
| |
| |||
1026 | 1025 |
| |
1027 | 1026 |
| |
1028 | 1027 |
| |
1029 |
| - | |
1030 |
| - | |
1031 | 1028 |
| |
| 1029 | + | |
1032 | 1030 |
| |
1033 |
| - | |
| 1031 | + | |
1034 | 1032 |
| |
1035 | 1033 |
| |
1036 | 1034 |
| |
| |||
1762 | 1760 |
| |
1763 | 1761 |
| |
1764 | 1762 |
| |
1765 |
| - | |
1766 |
| - | |
1767 |
| - | |
| 1763 | + | |
1768 | 1764 |
| |
1769 |
| - | |
| 1765 | + | |
1770 | 1766 |
| |
1771 | 1767 |
| |
1772 | 1768 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
936 | 936 |
| |
937 | 937 |
| |
938 | 938 |
| |
939 |
| - | |
| 939 | + | |
940 | 940 |
| |
941 |
| - | |
| 941 | + | |
942 | 942 |
| |
943 | 943 |
| |
944 | 944 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 |
| - | |
| 95 | + | |
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
|
Lines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 |
| - | |
7 |
| - | |
8 | 1 |
| |
9 | 2 |
| |
10 | 3 |
| |
|
0 commit comments
Comments
(0)