- Notifications
You must be signed in to change notification settings - Fork28
Commit02490d4
committed
Export ExplainBeginOutput() and ExplainEndOutput() for auto_explain.
Without these functions, anyone outside of explain.c can't actually useExplainPrintPlan, because the ExplainState won't be initialized properly.The user-visible result of this was a crash when using auto_explain withthe JSON output format.Report by Euler Taveira de Oliveira. Analysis by Tom Lane. Patch by me.1 parent6b45e3b commit02490d4
File tree
3 files changed
+9
-7
lines changed- contrib/auto_explain
- src
- backend/commands
- include/commands
3 files changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
226 | 227 | | |
| 228 | + | |
227 | 229 | | |
228 | 230 | | |
229 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
| |||
1791 | 1789 | | |
1792 | 1790 | | |
1793 | 1791 | | |
1794 | | - | |
| 1792 | + | |
1795 | 1793 | | |
1796 | 1794 | | |
1797 | 1795 | | |
| |||
1822 | 1820 | | |
1823 | 1821 | | |
1824 | 1822 | | |
1825 | | - | |
| 1823 | + | |
1826 | 1824 | | |
1827 | 1825 | | |
1828 | 1826 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
0 commit comments
Comments
(0)