Re: contrib/citext versus collations - Mailing list pgsql-hackers

From Tom Lane
Subject Re: contrib/citext versus collations
Date
Msg-id 2837.1307561202@sss.pgh.pa.us
Whole thread Raw
In response to Re: contrib/citext versus collations  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> On further reflection, I'm wondering exactly how much goodness to chop
> off there.  What I'd originally been thinking was to just lobotomize the
> case-folding step, and allow citext's comparison operators to still
> respond to input collation when comparing the folded strings.  However,
> I can imagine that some combinations of languages might produce pretty
> weird results if we do that.  Should we lobotomize the comparisons too?
> Or is the ability to affect the sort order valuable enough to put up
> with whatever corner-case funnies there might be?

For lack of any comment on this point, I went with the first approach.
Patch is committed.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: gcc 4.6 and hot standby
Next
From: Heikki Linnakangas
Date:
Subject: Re: could not truncate directory "pg_serial": apparent wraparound