From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix contrib/btree_gist to handle collations properly. |
Date: | 2011-04-23 00:20:10 |
Message-ID: | E1QDQa2-0005tI-Kd@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-04-23 16:36:07 | pgsql: Fix char2wchar/wchar2char to support collations properly. |
Previous Message | Tom Lane | 2011-04-23 00:13:48 | pgsql: Make GIN and GIST pass the index collation to all their support |