- Notifications
You must be signed in to change notification settings - Fork5
Commitc89d507
committed
Round rowcount estimate for a partial path to an integer.
I'd been wondering why I was sometimes seeing fractional rowcountestimates in parallel-query situations, and this seems to be thereason. (You won't see the fractional parts in EXPLAIN, because itprints rowcounts with %.0f, but they are apparent in the debugger.)A fractional rowcount is not any saner for a partial path than anyother kind of path, and it's equally likely to break cost estimationfor higher paths, so apply clamp_row_est() like we do in other places.1 parent3a4a33a commitc89d507
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
263 | 263 |
| |
264 | 264 |
| |
265 | 265 |
| |
266 |
| - | |
| 266 | + | |
267 | 267 |
| |
268 | 268 |
| |
269 | 269 |
| |
|
0 commit comments
Comments
(0)