pgsql: Fix contrib/btree_gist to handle collations properly.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix contrib/btree_gist to handle collations properly.
Дата
Msg-id E1QDQa2-0005tI-Kd@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix contrib/btree_gist to handle collations properly.

Make use of the collation attached to the index column, instead of
hard-wiring DEFAULT_COLLATION_OID.  (Note: in theory this could require
reindexing btree_gist indexes on textual columns, but I rather doubt anyone
has one with a non-default declared collation as yet.)

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bb850306307d3d6ebb611c4039ae127236eb1699

Modified Files
--------------
contrib/btree_gist/btree_bit.c       |   57 ++++++++-----
contrib/btree_gist/btree_bytea.c     |   53 ++++++++----
contrib/btree_gist/btree_numeric.c   |   52 +++++++----
contrib/btree_gist/btree_text.c      |   43 +++++----
contrib/btree_gist/btree_utils_num.c |    8 +-
contrib/btree_gist/btree_utils_var.c |  155 ++++++++++++++++------------------
contrib/btree_gist/btree_utils_var.h |   38 ++++-----
7 files changed, 219 insertions(+), 187 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Make GIN and GIST pass the index collation to all their support
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix char2wchar/wchar2char to support collations properly.