Re: BUG #1328: psql don't accept some valid PGCLIENTENCODING values - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1328: psql don't accept some valid PGCLIENTENCODING values
Date
Msg-id 10346.1101315327@sss.pgh.pa.us
Whole thread Raw
In response to BUG #1328: psql don't accept some valid PGCLIENTENCODING values  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
List pgsql-bugs
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.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

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: equal operator fails on two identical strings if initdb
Next
From: Tom Lane
Date:
Subject: Re: BUG #1328: psql don't accept some valid PGCLIENTENCODING values