From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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-06-01 18:08:28 |
Message-ID: | Pine.LNX.4.44.0306011724530.2610-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Bruce Momjian writes:
> Our default indexes will be able to do =, >, <, ORDER BY, and the
> special index will be able to do LIKE, ORDER BY, and maybe equals. Do I
> have that correct?
The default operator class supports comparisons (=, >, <, etc.) and ORDER
BY based on those operators. The other operator class supports pattern
matching operations (LIKE, SIMILAR, POSIX regexps).
> Looking at CVS, I see the warning about non-C locales has been removed.
> Should we instead mention the new LIKE index method?
I don't see a need. The old warning was mainly because once you
initdb'ed, you were basically stuck with your choice. Now we have plenty
of options to query and adjust things later.
> Doing LIKE with single-byte encodings would be easy because it would be
> only 256 compares to find the min/max char values, but that doesn't work
> with multi-byte encodings, right?
This has nothing to do with encodings.
--
Peter Eisentraut peter_e(at)gmx(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-06-01 21:52:45 | Re: [HACKERS] Are we losing momentum? |
Previous Message | Peter Eisentraut | 2003-06-01 18:07:37 | Re: default locale considered harmful? (was Re: [GENERAL] |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-06-01 18:09:38 | Re: compile error on cvs tip |
Previous Message | Peter Eisentraut | 2003-06-01 18:07:37 | Re: default locale considered harmful? (was Re: [GENERAL] |