Search Postgresql Archives

Re: Lower case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Vladimir S. Petukhov" <vladimir@xxxxxxxxxx> 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

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
      message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux