> Olá pessoal..
> Tenho um banco de dados PostgreSQL versao 9.0.2 num server Slackware onde
> nesse mesmo server temos varias bases em LATIN1 por necessidade dos
> sistemas...
> Porém surgiu a necessidade de criar duas bases com o encode em UTF8, e estou
> tendo alguns erros.Segue:
> /usr/local/pgsql/bin/createdb -E UTF8 bdteste
> createdb: database creation failed: ERROR : encoding UTF8 does not macth
> locale pt_BR
> Detail: Then chosen LC_TYPE setting requires encoding LATIN1
> postgres@pgpoll:~$ locale
> LANG=pt_BR.utf8
> LC_CTYPE="pt_BR.utf8"
> LC_NUMERIC="pt_BR.utf8"
> LC_TIME="pt_BR.utf8"
> LC_COLLATE=pt_BR.utf8
> LC_MONETARY="pt_BR.utf8"
> LC_MESSAGES="pt_BR.utf8"
> LC_PAPER="pt_BR.utf8"
> LC_NAME="pt_BR.utf8"
> LC_ADDRESS="pt_BR.utf8"
> LC_TELEPHONE="pt_BR.utf8"
> LC_MEASUREMENT="pt_BR.utf8"
> LC_IDENTIFICATION="pt_BR.utf8"
> LC_ALL=
>
> Preciso configurar mais alguma coisa..Se alguém tiver alguma dica posta..

/usr/local/pgsql/bin/createdb -E UTF8 -T template0 bdteste
_______________________________________________
pgbr-geral mailing list
pgbr-geral@listas.postgresql.org.br
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a