Re: BUG #1328: psql don't accept some valid PGCLIENTENCODING values

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "kaaos" <kaaos(at)land(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1328: psql don't accept some valid PGCLIENTENCODING values
Date: 2004-11-24 16:55:27
Message-ID: 10346.1101315327@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> writes:
> With PGCLIENTENCODING=KOI8 and server encoding UNICODE
> psql do not starts and print this message:

> psql: FATAL: invalid value for parameter "client_encoding": "KOI8"

Odd ... it Works For Me:

$ PGCLIENTENCODING=KOI8 psql regression
Welcome to psql 8.0.0beta4, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

regression=# \encoding
KOI8
regression=#

What locale settings are you using?

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-11-24 23:40:16 Re: BUG #1328: psql don't accept some valid PGCLIENTENCODING values
Previous Message Peter Eisentraut 2004-11-24 15:46:57 Re: equal operator fails on two identical strings if initdb