Fix contrib/btree_gist to handle collations properly.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: bb850306307d3d6ebb611c4039ae127236eb1699
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-04-23T00:19:58Z
Releases: 9.1.0
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.)

Files