Commit b925a00
committed
Fix "force_parallel_mode = regress" to work with ANALYZE + VERBOSE.
force_parallel_mode = regress is supposed to force use of a Gather
node without having any impact on EXPLAIN output. But it failed to
accomplish that if both ANALYZE and VERBOSE are given, because that
enables per-worker output data that you wouldn't see if the Gather
hadn't been inserted. Improve the logic so that we suppress the
per-worker data too.
This allows putting the new test case added by commit 5935917
back into the originally intended form (cf. 776a2c8, 22864f6).
We can also get rid of a kluge in subselect.sql, which previously
had to clean up after force_parallel_mode's failure to do what it
said on the tin.
Discussion: https://postgr.es/m/18445.1576177309@sss.pgh.pa.us1 parent 9067b83 commit b925a00
File tree
6 files changed
+30
-14
lines changed- src
- backend/commands
- include/commands
- test/regress
- expected
- sql
6 files changed
+30
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
698 | | - | |
| 698 | + | |
699 | 699 | | |
700 | 700 | | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
701 | 704 | | |
702 | 705 | | |
703 | 706 | | |
| 707 | + | |
704 | 708 | | |
| 709 | + | |
| 710 | + | |
705 | 711 | | |
706 | 712 | | |
707 | 713 | | |
| |||
806 | 812 | | |
807 | 813 | | |
808 | 814 | | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
809 | 819 | | |
810 | 820 | | |
811 | 821 | | |
| |||
1877 | 1887 | | |
1878 | 1888 | | |
1879 | 1889 | | |
1880 | | - | |
| 1890 | + | |
| 1891 | + | |
1881 | 1892 | | |
1882 | 1893 | | |
1883 | 1894 | | |
| |||
2574 | 2585 | | |
2575 | 2586 | | |
2576 | 2587 | | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
2577 | 2594 | | |
2578 | 2595 | | |
2579 | 2596 | | |
| |||
2596 | 2613 | | |
2597 | 2614 | | |
2598 | 2615 | | |
| 2616 | + | |
| 2617 | + | |
2599 | 2618 | | |
2600 | | - | |
2601 | | - | |
| 2619 | + | |
| 2620 | + | |
2602 | 2621 | | |
2603 | 2622 | | |
2604 | 2623 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3163 | 3163 | | |
3164 | 3164 | | |
3165 | 3165 | | |
3166 | | - | |
3167 | | - | |
3168 | | - | |
3169 | | - | |
| 3166 | + | |
| 3167 | + | |
| 3168 | + | |
| 3169 | + | |
3170 | 3170 | | |
3171 | | - | |
| 3171 | + | |
3172 | 3172 | | |
3173 | 3173 | | |
3174 | 3174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1166 | 1166 | | |
1167 | 1167 | | |
1168 | 1168 | | |
1169 | | - | |
1170 | | - | |
1171 | 1169 | | |
1172 | 1170 | | |
1173 | 1171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
844 | | - | |
| 844 | + | |
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
634 | | - | |
635 | | - | |
636 | 634 | | |
637 | 635 | | |
638 | 636 | | |
| |||
0 commit comments