Re: Issue is changing _bt_compare function and - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Issue is changing _bt_compare function and
Date
Msg-id 4348E081.7010700@familyhealth.com.au
Whole thread Raw
In response to Re: Issue is changing _bt_compare function and  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
> Well, _bt_compare is used for every btree index in the system,
> including all the system indexes. A fresh initdb already has several
> dozen indexes already so your code has to deal with that.
> 
> Remember, _bt_compare compares strings, integers, floats, dates, etc
> and your code needs to work for all of them too... What does it mean to
> compare dates case-insensetivly?

Yes, shouldn't you just be making a simple new string type that's case 
insensitive?

Chris


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [DOCS] Added documentation about caching, reliability
Next
From: Tino Wildenhain
Date:
Subject: Re: pg_dump option to dump only functions