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

From: "PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1328: psql don't accept some valid PGCLIENTENCODING values
Date: 2004-11-24 11:41:27
Message-ID: 20041124114127.8FEFE738660@www.postgresql.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1328
Logged by: kaaos

Email address: kaaos(at)land(dot)ru

PostgreSQL version: 8.0 Beta

Operating system: Linux kaaos 2.6.9 #3 Tue Nov 23 13:12:08 MSK 2004 i686
Intel(R) Celeron(R) CPU 1.70GHz GenuineIntel GNU/Linux

Description: psql don't accept some valid PGCLIENTENCODING values

Details:

Hello!
First of all, sorry for my English :(.

The problem:
With PGCLIENTENCODING=KOI8 and server encoding UNICODE
psql do not starts and print this message:

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

But, if I unset PGCLIENTENCODING, and in psql enter:

template1=# \encoding KOI8

then psql accept client encoding:

template1=# \encoding
KOI8

template1=# show client_encoding;
client_encoding
-----------------
KOI8
(1 row)

'select version()' output: PostgreSQL 8.0.0beta5
on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.4.3

Thank you.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2004-11-24 15:46:57 Re: equal operator fails on two identical strings if initdb
Previous Message Kent Tong 2004-11-24 10:39:53 Re: equal operator fails on two identical strings if initdb