pgsql: De-kludge contrib/btree_gin for collations.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: De-kludge contrib/btree_gin for collations.
Дата
Msg-id E1QDOlO-0004Eg-Ae@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/474ff212e5c2e89a9955cc2355cb96b2fe40398e

Modified Files
--------------
contrib/btree_gin/btree_gin.c |    3 +--
1 files changed, 1 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Small update to emacs example configuration
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Make GIN and GIST pass the index collation to all their support