BUG #1438: Non UTF-8 client encoding problem

Поиск
Список
Период
Сортировка
От Estagus
Тема BUG #1438: Non UTF-8 client encoding problem
Дата
Msg-id 200501240105.j0O154Px023104@developer.pgadmin.org
обсуждение исходный текст
Ответы Re: BUG #1438: Non UTF-8 client encoding problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      1438
Logged by:          Estagus
Email address:      wizard580@gmail.com
PostgreSQL version: 7.4.6
Operating system:   Debian SID
Description:        Non UTF-8 client encoding problem
Details:

Hi...
I use postgresql 7.4.6 on Debian woody SID/unstable.
I set client encoding to koi8 in file postgresql.conf
I connect to base using psql shell.

See shell commands:
# \encoding
KOI8
# \d
bla bla bla all ok

# CREATE TABLE onoff(id BIGSERIAL UNIQUE NOT NULL, user_id BIGINT NOT NULL,
made_id BIGINT NOT NULL, progress BOOL NOT NULL, is_on BOOL NOT NULL,
tarif_id INTEGER NOT NULL, date_ins DATE NOT NULL, date_todo DATE NOT
NULL);
ERROR:  ignoring unconvertible UTF-8 character 0xd3cf

# set client_encoding to utf8;
SET

# CREATE TABLE onoff(id BIGSERIAL UNIQUE NOT NULL, user_id BIGINT NOT NULL,
made_id BIGINT NOT NULL, progress BOOL NOT NULL, is_on BOOL NOT NULL,
tarif_id INTEGER NOT NULL, date_ins DATE NOT NULL, date_todo DATE NOT
NULL);
bla bla bla all ok...

# \d
ERROR in russian...

# set client_encoding to koi8;
SET

# \d
all ok...

If i missed some info, please tell me...

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

Предыдущее
От: Kim Hansen
Дата:
Сообщение: Re: BUG #1437: converting column from text to int4 requires USING
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: BUG #1432: type "cube" does not exist