From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, Andrew Sullivan <andrew(at)libertyrms(dot)info>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: default locale considered harmful? (was Re: [GENERAL] |
Date: | 2003-05-31 18:25:38 |
Message-ID: | 21490.1054405538@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> So, my understanding is that you would create something such as:
> CREATE INDEX iix ON tab (LIKE col)
> and that does LIKE lookups and knows how to do col LIKE 'abc%', but it
> can't be used for >= or ORDER BY, but it can be used for equality tests?
Hm. Right at the moment, it wouldn't be used for equality tests unless
you spelled equality as "a ~=~ b". I wonder whether that's necessary
though; couldn't we dispense with that operator and use ordinary
equality as the BTEqual member of these opclasses? Are there any
locales that claim that not-physically-identical strings are equal?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | PeterKorman | 2003-05-31 19:19:03 | Re: Slashdot: SAP and MySQL Join Forces |
Previous Message | Dima Tkach | 2003-05-31 18:15:04 | dead tuples and VACUUM |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-05-31 18:40:40 | Re: regression in cvs tip |
Previous Message | Joe Conway | 2003-05-31 18:00:35 | regression in cvs tip |