Favor manter a discussão na lista.
2009/7/16 fabio.ebner <[email protected]>:
> Osvaldo segue o erro:
>
> psql (8.4.0)
> AVISO: página de código do Console (850) difere da página de código do
> Windows (
> 1252)
> caracteres de 8 bits podem não funcionar corretamente. Veja página de
> referência do psql "Notes for Windows users" para obter detalhes.
> Digite "help" para ajuda.
Do manual:
"Notes for Windows users
psql is built as a "console application". Since the Windows console
windows use a different encoding than the rest of the system, you must
take special care when using 8-bit characters within psql. If psql
detects a problematic console code page, it will warn you at startup.
To change the console code page, two things are necessary:
* Set the code page by entering cmd.exe /c chcp 1252. (1252
is a code page that is appropriate for German; replace it with your
value.) If you are using Cygwin, you can put this command in
/etc/profile.
* Set the console font to Lucida Console, because the raster
font does not work with the ANSI code page. "
http://www.postgresql.org/docs/current/interactive/app-psql.html
>
> postgres=# SET LANG=pt_BR;
> ERRO: parâmetro de configuração desconhecido "lang"
> postgres=#
Este SET não é um comando do psql, é um comando do console do MS-Windows.
Osvaldo
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral