- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitadeee97
committed
Fix dumb bug in tqueue.c
When I wrote this code originally, the intention was to recompute theremapinfo only when the tupledesc changes. This presumably onlyhappens once per query, but I copied the design pattern from otherDestReceivers. However, due to a silly oversight on my part,tqueue->tupledesc never got set, leading to recomputation for everytuple.This should improve the performance of parallel scans that return asignificant number of tuples.Report by Amit Kapila; patch by me, reviewed by him.1 parent5f10b7a commitadeee97
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
131 |
| - | |
| 130 | + | |
| 131 | + | |
132 | 132 |
| |
133 |
| - | |
134 |
| - | |
| 133 | + | |
135 | 134 |
| |
136 | 135 |
| |
137 | 136 |
| |
138 | 137 |
| |
| 138 | + | |
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
|
0 commit comments
Comments
(0)