BUG #4890: Allow insert character has no equivalent in "LATIN2"

Поиск
Список
Период
Сортировка
От saint
Тема BUG #4890: Allow insert character has no equivalent in "LATIN2"
Дата
Msg-id 200906271920.n5RJKLeP003771@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #4890: Allow insert character has no equivalent in "LATIN2"  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      4890
Logged by:          saint
Email address:      saint@akpa.pl
PostgreSQL version: 8.4 RC1
Operating system:   Windows XP
Description:        Allow insert character has no equivalent in "LATIN2"
Details:

Database encoding: "LATIN2"

set client_encoding to 'UTF8';
insert into public.test(col) values('‰');

ERROR: character 0xe280b0 of encoding "UTF8" has no equivalent in "LATIN2"

in this case is correct but if client_encoding is 'WIN1250':

set client_encoding to 'WIN1250';
insert into public.test(col) values('‰');

Query returned successfully: 1 row affected, 0 ms execution time.

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

Предыдущее
От: "Ricardo"
Дата:
Сообщение: BUG #4889: Accent Sensitive
Следующее
От: "Armin Jenewein"
Дата:
Сообщение: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user