- Notifications
You must be signed in to change notification settings - Fork28
Commitb8b94ea
committed
Fix slot type issue for fuzzy distance index scan over out-of-core table AM.
For amcanreorderby scans the nodeIndexscan.c's reorder queue holdsheap tuples, but the underlying table likely does not. Before this fixwe'd return different types of slots, depending on whether the tuplecame from the reorder queue, or from the index + table.While that could be fixed by signalling that the node doesn't return afixed type of slot, it seems better to instead remove the separateslot for the reorder queue, and use ExecForceStoreHeapTuple() to storetuples from the queue. It's not particularly common to needreordering, after all.This reverts most of the iss_ReorderQueueSlot related changes tonodeIndexscan.c made in1a0586d, except that nowExecForceStoreHeapTuple() is used instead of ExecStoreHeapTuple().Noticed when testing zheap against the in-core version of tableam.Author: Andres Freund1 parent88e6ad3 commitb8b94ea
File tree
2 files changed
+6
-15
lines changed- src
- backend/executor
- include/nodes
2 files changed
+6
-15
lines changedLines changed: 6 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
| 199 | + | |
| 200 | + | |
199 | 201 |
| |
200 | 202 |
| |
201 | 203 |
| |
| |||
231 | 233 |
| |
232 | 234 |
| |
233 | 235 |
| |
234 |
| - | |
235 | 236 |
| |
236 | 237 |
| |
237 | 238 |
| |
| |||
246 | 247 |
| |
247 | 248 |
| |
248 | 249 |
| |
249 |
| - | |
| 250 | + | |
250 | 251 |
| |
251 | 252 |
| |
252 | 253 |
| |
253 | 254 |
| |
254 | 255 |
| |
255 | 256 |
| |
256 |
| - | |
257 |
| - | |
| 257 | + | |
258 | 258 |
| |
259 | 259 |
| |
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
263 | 263 |
| |
264 |
| - | |
265 | 264 |
| |
266 | 265 |
| |
267 | 266 |
| |
| |||
354 | 353 |
| |
355 | 354 |
| |
356 | 355 |
| |
357 |
| - | |
358 |
| - | |
| 356 | + | |
359 | 357 |
| |
360 | 358 |
| |
361 | 359 |
| |
| |||
807 | 805 |
| |
808 | 806 |
| |
809 | 807 |
| |
810 |
| - | |
811 |
| - | |
812 | 808 |
| |
813 | 809 |
| |
814 | 810 |
| |
| |||
1055 | 1051 |
| |
1056 | 1052 |
| |
1057 | 1053 |
| |
1058 |
| - | |
| 1054 | + | |
1059 | 1055 |
| |
1060 | 1056 |
| |
1061 |
| - | |
1062 |
| - | |
1063 |
| - | |
1064 |
| - | |
1065 | 1057 |
| |
1066 | 1058 |
| |
1067 | 1059 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1387 | 1387 |
| |
1388 | 1388 |
| |
1389 | 1389 |
| |
1390 |
| - | |
1391 | 1390 |
| |
1392 | 1391 |
| |
1393 | 1392 |
| |
|
0 commit comments
Comments
(0)