Re: decode function

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: decode function
Дата
Msg-id 200312092028.36860.peter_e@gmx.net
обсуждение исходный текст
Ответ на decode function  ("gerard manvu " <manvu.gerard4@caramail.com>)
Список pgsql-bugs
gerard manvu wrote:
> I don't know if it is really a bug or a missuse of postgresql but
> when I issue the following request select decode(encode('µ'::bytea,
> 'escape'), 'escape');
> , the result is \346, not 'µ'.

That's the same thing. bytea stores bytes, not characters, so we expect
that you are primarily interested in the byte value.

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

Предыдущее
От: "Chad N. Tindel"
Дата:
Сообщение: Unintended shutdown in postgres 7.4
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: java.lang.NullPointerException - at