aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_bytea.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-04-22 18:22:38 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-04-22 18:22:38 -0400
commit474ff212e5c2e89a9955cc2355cb96b2fe40398e (patch)
treeff8c0a7cd36c974d63e937c9475ffc00e40eea76 /contrib/btree_gist/btree_bytea.c
parent78e7e20afe768d9c5f6b4fbf30a2d7100d46bb2f (diff)
downloadpostgresql-474ff212e5c2e89a9955cc2355cb96b2fe40398e.tar.gz
postgresql-474ff212e5c2e89a9955cc2355cb96b2fe40398e.zip
De-kludge contrib/btree_gin for collations.
Using DEFAULT_COLLATION_OID in the comparePartial functions was not only a lame hack, but outright wrong, because the compare functions for collation-aware types were already responding to the declared index collation. So comparePartial would have the wrong expectation about the index's sort order, possibly leading to missing matches for prefix searches.
Diffstat (limited to 'contrib/btree_gist/btree_bytea.c')
0 files changed, 0 insertions, 0 deletions