Skip site navigation (1) Skip section navigation (2)

Re: [pgsql-ru-general] Проблема чувствительности регистра

From: "Sergey Konoplev" <gray(dot)ru(at)gmail(dot)com>
To: "Teodor Sigaev" <teodor(at)sigaev(dot)ru>
Cc: pgsql-ru-general(at)postgresql(dot)org
Subject: Re: [pgsql-ru-general] Проблема чувствительности регистра
Date: 2007-09-07 19:13:45
Message-ID: c3a7de1f0709071213j72232e74x65265624f65421d5@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-ru-general
test=# select lower('ЙЦУКЕН'); show lc_collate;
 lower
--------
 йцукен
(1 row)

 lc_collate

-------------
 ru_RU.UTF-8
(1 row)


SUSE LINUX Enterprise Server 9

2007/9/7, Teodor Sigaev <teodor(at)sigaev(dot)ru>:
> Интересно. select lower('ЙЦУКЕН'); show lc_collate;? OS?
>
>
> Sergey Konoplev wrote:
> > Вот
> >
> > test=# show lc_ctype; show server_encoding;
> >   lc_ctype
> > -------------
> >  ru_RU.UTF-8
> > (1 row)
> >
> >  server_encoding
> > -----------------
> >  UTF8
> > (1 row)
> >
> >
> >
> > 2007/9/7, Teodor Sigaev <teodor(at)sigaev(dot)ru>:
> >> Покажи вывод show lc_ctype; show server_encoding; плз
> >>
> >>> pgdb:~ # locale |grep LC_CTYPE
> >>> LC_CTYPE=ru_RU.UTF-8
> >> Это ни на что не влияет - локаль базы задается при initdb
> >>
> >>> test=# show client_encoding;
> >>>  client_encoding
> >>> -----------------
> >>>  UTF8
> >>> (1 row)
> >> Это локаль клиента, а не сервера
> >>
> >> --
> >> Teodor Sigaev                                   E-mail: teodor(at)sigaev(dot)ru
> >>                                                    WWW: http://www.sigaev.ru/
> >>
> >
> >
>
> --
> Teodor Sigaev                                   E-mail: teodor(at)sigaev(dot)ru
>                                                    WWW: http://www.sigaev.ru/
>


-- 
Regards,
Sergey Konoplev

In response to

Responses

pgsql-ru-general by date

Next:From: Ivan ZolotukhinDate: 2007-09-09 16:16:53
Subject: Re: Совет по конфигурации
Previous:From: Teodor SigaevDate: 2007-09-07 17:08:56
Subject: Re: Проблема чувствительности регистра

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group