- Notifications
You must be signed in to change notification settings - Fork28
Commit5ceb13c
committed
Fix ginint4_queryextract() to actually do what it was intended to do for an
unsatisfiable query, such as indexcol && empty_array. It should return -1to tell GIN no scan is required; but silly typo disabled the logic for that,resulting in unnecessary "GIN indexes do not support whole-index scans" error.Per bug report from Jeff Trout.Back-patch to 8.3 where the logic was introduced.1 parentbe8cebc commit5ceb13c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments
Comments
(0)