Re: Warning when connecting from PSQL Command

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Warning when connecting from PSQL Command
Дата
Msg-id mkgskd$sj0$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: Warning when connecting from PSQL Command  (Harshad Adalkonda <adalkondaharshad@gmail.com>)
Список pgsql-admin
Harshad Adalkonda schrieb am 30.05.2015 um 20:34:
>> On Fri, May 29, 2015 at 11:43 PM, danny <dinesh4202001@gmail.com <mailto:dinesh4202001@gmail.com>> wrote:
>>
>>     Warning console code page (437) differs from Window code page (1252) 8- bit
>>     character might not work correctly. See psql reference page "Notes for
>>     windows users" for details
>>     Type "Help" for help
>>
>
> Don't mind the warning message it will always shown when you connect to psql terminal.

No, it will not "always" show if you follow the advice given in the manual and change the codepage in
the command line before starting psql:

    c:\>psql
    psql (9.4.2)
    WARNING: Console code page (850) differs from Windows code page (1252)
             8-bit characters might not work correctly. See psql reference
             page "Notes for Windows users" for details.
    Type "help" for help.

    postgres=> \q

    c:\>chcp 1252
    Active codepage: 1252.

    c:\>psql
    psql (9.4.2)
    Type "help" for help.

    postgres=>


Thomas

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Boylan, Ross"
Дата:
Сообщение: Re: PostgreSQL 9.1 "database system was interrupted; last known up at"
Следующее
От: Albe Laurenz
Дата:
Сообщение: Re: pg_dump not dumping some schemas