forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita1115fa
committed
Postpone some more stuff out of ExecInitModifyTable.
Delay creation of the projections for INSERT and UPDATE tuplesuntil they're needed. This saves a pretty fair amount of workwhen only some of the partitions are actually touched.The logic associated with identifying junk columns in UPDATE/DELETEis moved to another loop, allowing removal of one loop over thetarget relations; but it didn't actually change at all.Extracted from a larger patch, which seemed to me to be too messyto push in one commit.Amit Langote, reviewed at different times by Heikki Linnakangas andmyselfDiscussion:https://postgr.es/m/CA+HiwqG7ZruBmmih3wPsBZ4s0H2EhywrnXEduckY5Hr3fWzPWA@mail.gmail.com1 parent3b82d99 commita1115fa
File tree
3 files changed
+210
-158
lines changed- src
- backend/executor
- include/nodes
3 files changed
+210
-158
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1221 | 1221 |
| |
1222 | 1222 |
| |
1223 | 1223 |
| |
| 1224 | + | |
1224 | 1225 |
| |
1225 | 1226 |
| |
1226 | 1227 |
| |
|
0 commit comments
Comments
(0)