Re: Warning when connecting from PSQL Command

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Warning when connecting from PSQL Command
Date: 2015-06-01 06:03:57
Message-ID: mkgskd$sj0$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Harshad Adalkonda schrieb am 30.05.2015 um 20:34:
>> On Fri, May 29, 2015 at 11:43 PM, danny <dinesh4202001(at)gmail(dot)com <mailto:dinesh4202001(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Albe Laurenz 2015-06-01 08:07:57 Re: pg_dump not dumping some schemas
Previous Message Boylan, Ross 2015-05-30 21:14:15 Re: PostgreSQL 9.1 "database system was interrupted; last known up at"