BUG #2397: 1 = SELECT ASCII(CHR(257))

Поиск
Список
Период
Сортировка
От Péter Szabó
Тема BUG #2397: 1 = SELECT ASCII(CHR(257))
Дата
Msg-id 200604141604.k3EG4hl7065725@wwwmaster.postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      2397
Logged by:          Péter Szabó
Email address:      pts@szszi.hu
PostgreSQL version: 8.1.3
Operating system:   Linux
Description:        1 = SELECT ASCII(CHR(257))
Details:

Hi!

I have a Unicode-enabled PostgreSQL with the database encoding set to
UNICODE and the client encoding set to UTF-8.

I think ASCII(CHR(257)) should return 257, and not 1. Or, there should be
another function in place of ASCII, that returns 257.

Best regards,

Péter Szabó
free software consultant
Free Software Institute, Hungary

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

Предыдущее
От: "wangshj"
Дата:
Сообщение: BUG #2395: Can't get right type oid by PQftype.
Следующее
От: "Martin"
Дата:
Сообщение: BUG #2396: SELECT to_number('6500', '999,999.99') != 650