Re: Bytea/Base64 encoders for libpq - interested?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bytea/Base64 encoders for libpq - interested?
Дата
Msg-id 24827.999578705@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bytea/Base64 encoders for libpq - interested?  ("Joe Conway" <joseph.conway@home.com>)
Список pgsql-hackers
"Joe Conway" <joseph.conway@home.com> writes:
> I was thinking it would be nice to have a
> way to cast bytea into text and vice-versa,

How will you handle a null byte in bytea data?  Transforming it directly
into an embedded null in a text object is NOT an acceptable answer,
because too many of the text functions will misbehave on such data.
        regards, tom lane


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

Предыдущее
От: "Joe Conway"
Дата:
Сообщение: Re: Re: Toast,bytea, Text -blob all confusing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: Toast,bytea, Text -blob all confusing