[pgbr-geral] Como configurar o PostgreSQL 8.3 para pt_BR?
Leandro DUTRA
leandro.gfc.dutra em gmail.com
Quarta Março 5 13:38:30 BRT 2008
2008/3/5, Osvaldo Rosario Kussama <osvaldo.kussama em gmail.com>:
> Leandro DUTRA escreveu:
> > 2008/3/5, Ribamar Sousa <ribafs em gmail.com>:
> >> Quando eu crio um cluster com encoding latin1 também posso criar banco
> >> com utf8, mas se tenho um cluster em utf8 não posso criar banco com
> >> latin1.
> >
> > Interessante, isso está documentado?
>
> http://www.postgresql.org/docs/8.3/interactive/multibyte.html
> "An important restriction, however, is that each database
> character set must be compatible with the server's LC_CTYPE
> setting. When LC_CTYPE is C or POSIX, any character set is
> allowed, but for other settings of LC_CTYPE there is only one
> character set that will work correctly. Since the LC_CTYPE
> setting is frozen by initdb, the apparent flexibility to use
> different encodings in different databases of a cluster is more
> theoretical than real, except when you select C or POSIX locale
> (thus disabling any real locale awareness). It is likely that
> these mechanisms will be revisited in future versions of PostgreSQL."
Mas não era isso que ele disse... isso aí é sobre compatibilidade
entre bases de dados e LC_CTYPE; o que fora dito era entre /clusters/
e bases de dados.
--
skype:leandro.gfc.dutra?chat Yahoo!: ymsgr:sendIM?lgcdutra
+55 (11) 3040 7300 r155 gTalk: xmpp:leandrod em jabber.org
+55 (11) 9406 7191 ICQ/AIM: aim:GoIM?screenname=61287803
+55 (11) 5685 2219 MSN: msnim:chat?contact=leandro em dutra.fastmail.fm
More information about the pgbr-geral
mailing list