forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita0bf7a0
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 parent6bcd1d9 commita0bf7a0
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 | |
|---|---|---|---|
| |||
1261 | 1261 | | |
1262 | 1262 | | |
1263 | 1263 | | |
1264 | | - | |
1265 | 1264 | | |
1266 | 1265 | | |
1267 | 1266 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1035 | 1035 | | |
1036 | 1036 | | |
1037 | 1037 | | |
1038 | | - | |
1039 | | - | |
1040 | | - | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
1045 | 1038 | | |
1046 | 1039 | | |
1047 | 1040 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | 130 | | |
132 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
| 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 | |
|---|---|---|---|
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | 559 | | |
563 | 560 | | |
564 | 561 | | |
| |||
682 | 679 | | |
683 | 680 | | |
684 | 681 | | |
685 | | - | |
686 | | - | |
| 682 | + | |
| 683 | + | |
687 | 684 | | |
688 | 685 | | |
| 686 | + | |
689 | 687 | | |
690 | 688 | | |
691 | 689 | | |
| |||
0 commit comments
Comments
(0)