2008/3/5, Osvaldo Rosario Kussama <[EMAIL PROTECTED]>:
> Leandro DUTRA escreveu:
>
> > 2008/3/5, Ribamar Sousa <[EMAIL PROTECTED]>:
>
> >>  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."

Osvaldo, por favor me tira mais uma dúvida:  Cada conjunto de
caracteres dos bancos precisa ser compatível com a configuração
LC_CTYPE do servidor.

Aqui, a configuração é do SGBD ou do sistema operacional. O que
entendo é que seja do SGBD mas parece que é do SO.

-- 
Ribamar FS - [EMAIL PROTECTED]
http://ribafs.net
_______________________________________________
pgbr-geral mailing list
pgbr-geral@listas.postgresql.org.br
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a