Olá pessoal.

Fiz uma instalação anteriormente..em 8.4 consegui criar um banco de dados
com com encode em latin1;

*/usr/local/pgsql/bin/initdb –locale= pt_BR –encoding=LATIN1  -D
/usr/local/pgsql/data *

Porém em uma máquina Debian 6  não consigo criar o cluster nem qualquer
banco de dados com encoding latin1

Segue as configurações:
postgres@Debian01:~$ locale -a
C
POSIX
pt_BR.utf8
postgres@Debian01:~$ locale
LANG=pt_BR.UTF-8
LANGUAGE=pt_BR:pt:en
LC_CTYPE="pt_BR.UTF-8"
LC_NUMERIC="pt_BR.UTF-8"
LC_TIME="pt_BR.UTF-8"
LC_COLLATE="pt_BR.UTF-8"
LC_MONETARY="pt_BR.UTF-8"
LC_MESSAGES="pt_BR.UTF-8"
LC_PAPER="pt_BR.UTF-8"
LC_NAME="pt_BR.UTF-8"
LC_ADDRESS="pt_BR.UTF-8"
LC_TELEPHONE="pt_BR.UTF-8"
LC_MEASUREMENT="pt_BR.UTF-8"
LC_IDENTIFICATION="pt_BR.UTF-8"
LC_ALL=


postgres@Debian01:~$ /usr/local/pgsql/bin/createdb --encoding=LATIN1
/usr/local/pgsql/data/
createdb: database creation failed: ERROR:  encoding LATIN1 does not match
locale pt_BR.UTF-8
DETAIL:  The chosen LC_CTYPE setting requires encoding UTF8.


Se alguem puder dar alguma dica:

Emerson
DBA Jr
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a