Commit 4b3e379
Etsuro Fujita
Remove new structure member from ResultRelInfo.
In commit ffbb7e6, I added a ModifyTableState member to ResultRelInfo
to save the owning ModifyTableState for use by nodeModifyTable.c when
performing batch inserts, but as pointed out by Tom Lane, that changed
the array stride of es_result_relations, and that would break any
previously-compiled extension code that accesses that array. Fix by
removing that member from ResultRelInfo and instead adding a List member
at the end of EState to save such ModifyTableStates.
Per report from Tom Lane. Back-patch to v14, like the previous commit;
I chose to apply the patch to HEAD as well, to make back-patching easy.
Discussion: http://postgr.es/m/4065383.1669395453%40sss.pgh.pa.us1 parent d3b111e commit 4b3e379
File tree
5 files changed
+22
-29
lines changed- src
- backend/executor
- include/nodes
5 files changed
+22
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1257 | 1257 | | |
1258 | 1258 | | |
1259 | 1259 | | |
1260 | | - | |
1261 | 1260 | | |
1262 | 1261 | | |
1263 | 1262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1029 | 1029 | | |
1030 | 1030 | | |
1031 | 1031 | | |
1032 | | - | |
1033 | | - | |
1034 | | - | |
1035 | | - | |
1036 | | - | |
1037 | | - | |
1038 | | - | |
1039 | 1032 | | |
1040 | 1033 | | |
1041 | 1034 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | 133 | | |
135 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
858 | 858 | | |
859 | 859 | | |
860 | 860 | | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
865 | 867 | | |
866 | 868 | | |
867 | 869 | | |
| |||
870 | 872 | | |
871 | 873 | | |
872 | 874 | | |
| 875 | + | |
| 876 | + | |
873 | 877 | | |
874 | 878 | | |
875 | 879 | | |
| |||
1219 | 1223 | | |
1220 | 1224 | | |
1221 | 1225 | | |
1222 | | - | |
| 1226 | + | |
| 1227 | + | |
1223 | 1228 | | |
1224 | | - | |
| 1229 | + | |
| 1230 | + | |
1225 | 1231 | | |
1226 | | - | |
1227 | | - | |
| 1232 | + | |
| 1233 | + | |
1228 | 1234 | | |
1229 | 1235 | | |
1230 | 1236 | | |
| |||
1236 | 1242 | | |
1237 | 1243 | | |
1238 | 1244 | | |
| 1245 | + | |
1239 | 1246 | | |
| 1247 | + | |
1240 | 1248 | | |
1241 | 1249 | | |
1242 | 1250 | | |
| |||
4342 | 4350 | | |
4343 | 4351 | | |
4344 | 4352 | | |
4345 | | - | |
4346 | | - | |
4347 | | - | |
4348 | | - | |
4349 | | - | |
4350 | | - | |
4351 | | - | |
4352 | 4353 | | |
4353 | 4354 | | |
4354 | 4355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | 578 | | |
582 | 579 | | |
583 | 580 | | |
| |||
703 | 700 | | |
704 | 701 | | |
705 | 702 | | |
706 | | - | |
707 | | - | |
| 703 | + | |
| 704 | + | |
708 | 705 | | |
709 | 706 | | |
| 707 | + | |
710 | 708 | | |
711 | 709 | | |
712 | 710 | | |
| |||
0 commit comments