Fix up btree's initial scankey processing to be able to detect redundant
Tom Lane <tgl@sss.pgh.pa.us>
Fix up btree's initial scankey processing to be able to detect redundant or contradictory keys even in cross-data-type scenarios. This is another benefit of the opfamily rewrite: we can find the needed comparison operators now.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/nbtsearch.c | modified | +14 −10 |
| src/backend/access/nbtree/nbtutils.c | modified | +188 −84 |
| src/backend/access/nbtree/README | modified | +6 −5 |