- Notifications
You must be signed in to change notification settings - Fork5
Commit9d1ac2f
committed
Tweak create_index_paths()'s test for whether to consider a bitmap scan.
Per my note of a couple days ago, create_index_paths would refuse toconsider any path at all for GIN indexes if the selectivity estimate cameout as 1.0; not even if you tried to force it with enable_seqscan. Whilethis isn't really a bad outcome in practice, it could be annoying fortesting purposes. Adjust the test for "is this path only useful forsorting" so that it doesn't fire on paths with nil pathkeys, which willinclude all GIN paths.1 parent1c400d3 commit9d1ac2f
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
199 |
| - | |
200 |
| - | |
| 199 | + | |
| 200 | + | |
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
|
0 commit comments
Comments
(0)