- Notifications
You must be signed in to change notification settings - Fork5
Commit474ff21
committed
De-kludge contrib/btree_gin for collations.
Using DEFAULT_COLLATION_OID in the comparePartial functions was not onlya lame hack, but outright wrong, because the compare functions forcollation-aware types were already responding to the declared indexcollation. So comparePartial would have the wrong expectation aboutthe index's sort order, possibly leading to missing matches for prefixsearches.1 parent78e7e20 commit474ff21
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 | 10 |
| |
12 | 11 |
| |
13 | 12 |
| |
| |||
123 | 122 |
| |
124 | 123 |
| |
125 | 124 |
| |
126 |
| - | |
| 125 | + | |
127 | 126 |
| |
128 | 127 |
| |
129 | 128 |
| |
|
0 commit comments
Comments
(0)