From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | vladimir(at)sycore(dot)org |
Cc: | Dawid Kuroczko <qnex42(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Lower case |
Date: | 2005-01-26 20:01:28 |
Message-ID: | 19061.1106769688@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-ru-general |
"Vladimir S. Petukhov" <vladimir(at)sycore(dot)org> writes:
> pg_controldata /var/pgsql/data
> ...
> LC_COLLATE: ru_RU
> LC_CTYPE: ru_RU
> bash-2.05b# psql -l
> List of databases
> Name | Owner | Encoding
> -----------+----------+----------
> testdb | postgres | UNICODE
> And LIKE, ILIKE, ~ do not recognize upper/lower case..
What character encoding is implied by those LC_ settings on your machine?
If it's different from the database encoding (here utf8) these things
won't actually work right.
Also, before PG 8.0 upper/lower simply don't work on multibyte characters,
which means you'd have to use a single-byte encoding to make it work
(I think koi8 is single-byte but not sure).
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Lee Harr | 2005-01-26 21:35:46 | Re: Apparently I don't understand full outer joins.... |
Previous Message | John Sidney-Woollett | 2005-01-26 19:57:34 | Re: Splitting queries across servers |
From | Date | Subject | |
---|---|---|---|
Next Message | Vladimir S. Petukhov | 2005-01-26 22:33:26 | Re: Lower case |
Previous Message | Oleg Bartunov | 2005-01-26 12:35:00 | Re: Lower case |