forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4b3e379

Etsuro Fujita
Remove new structure member from ResultRelInfo.
In commitffbb7e6, I added a ModifyTableState member to ResultRelInfoto save the owning ModifyTableState for use by nodeModifyTable.c whenperforming batch inserts, but as pointed out by Tom Lane, that changedthe array stride of es_result_relations, and that would break anypreviously-compiled extension code that accesses that array. Fix byremoving that member from ResultRelInfo and instead adding a List memberat 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 parentd3b111e commit4b3e379
File tree
5 files changed
+22
-29
lines changed- src
- backend/executor
- include/nodes
5 files changed
+22
-29
lines changedLines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1257 | 1257 |
| |
1258 | 1258 |
| |
1259 | 1259 |
| |
1260 |
| - | |
1261 | 1260 |
| |
1262 | 1261 |
| |
1263 | 1262 |
| |
|
Lines changed: 0 additions & 7 deletions
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 |
| |
|
Lines changed: 3 additions & 1 deletion
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 |
| |
|
Lines changed: 16 additions & 15 deletions
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 |
| |
|
Lines changed: 3 additions & 5 deletions
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
Comments
(0)