forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc670d0f
committed
Remove ineffective check against dropped columns from slot_getattr().
Before this commit slot_getattr() checked for droppedcolumns (returning NULL in that case), but only after checking forpreviously deformed columns. As slot_deform_tuple() does not containsuch a check, the check in slot_getattr() would often not have beenreached, depending on previous use of the slot.These days locking and plan invalidation ought to ensure that droppedcolumns are not accessed in query plans. Therefore this commit justdrops the insufficient check in slot_getattr(). It's possible thatwe'll find some holes againt use of dropped columns, but if so, thoseneed to be addressed independent of slot_getattr(), as most accessesdon't go through that function anyway.Author: Andres FreundDiscussion:https://postgr.es/m/20181107174403.zai7fedgcjoqx44p@alap3.anarazel.de1 parent1ef6bd2 commitc670d0f
1 file changed
+0
-11
lines changedLines changed: 0 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1132 | 1132 |
| |
1133 | 1133 |
| |
1134 | 1134 |
| |
1135 |
| - | |
1136 |
| - | |
1137 |
| - | |
1138 |
| - | |
1139 |
| - | |
1140 |
| - | |
1141 |
| - | |
1142 |
| - | |
1143 |
| - | |
1144 |
| - | |
1145 |
| - | |
1146 | 1135 |
| |
1147 | 1136 |
| |
1148 | 1137 |
| |
|
0 commit comments
Comments
(0)