From: Alex Gorbachenko <agent_007@immo.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] postgresql 8.1.8 и трабл с ILIKE
Date: Fri, 6 Jun 2008 15:22:02 +0400
Message-ID: <20080606152202.3cf64244@satellite.immo> (raw)
In-Reply-To: <200806061348.38190.SilverFox@mail.rgantd.ru>
[-- Attachment #1: Type: text/plain, Size: 876 bytes --]
On Fri, 6 Jun 2008 13:48:38 +0400
Anatoliy wrote:
>То есть все базы тоже должны быть в одной кодировке?
>Если нет , то какие параметры можно для конкретной базы изменять?
>Ну кодировку клиента можно же менять? А кодировку базы отличать от
>кодировки при инсталации нельзя? Раньше, вроде, было можно. Все в кои8
>было , а эта база в WIN1251 работала и не тужила.
если initdb создал кластер в koi8-r, то базы будут работать в любой
кодировке, отличной от koi-8r. но некоторые операции будут вылполняться
некорректно. например, order by по char() или text() полям. like/ilike
тоже попадают в число "некоторых".
в вашем случае все базы нужно держать в utf8, а для тех, которым нужны
другие кодировки для хранения данных, выделять другие серверы. и на
этих серверах инициализировать кластер в нужной однобайтной кодировке.
--
np: Dream Theater - Voices
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-06-06 11:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-05 10:36 Anatoliy Lisjutin
2008-06-05 10:55 ` Anatoliy Lisjutin
2008-06-05 12:26 ` Michael Bochkaryov
2008-06-06 7:37 ` Anatoliy Lisjutin
2008-06-06 8:02 ` Anatoliy Lisjutin
2008-06-06 8:11 ` Anatoliy Lisjutin
2008-06-06 9:27 ` Alex Gorbachenko
2008-06-06 9:48 ` Anatoliy Lisjutin
2008-06-06 11:22 ` Alex Gorbachenko [this message]
2008-06-06 13:30 ` Michael Bochkaryov
2008-06-09 4:24 ` Alexey Novikov
2008-06-10 11:05 ` Anatoliy Lisjutin
2008-06-10 10:33 ` Anatoliy Lisjutin
2008-06-11 9:04 ` Anatoliy Lisjutin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080606152202.3cf64244@satellite.immo \
--to=agent_007@immo.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git