Re: [PATCH] by request: base64 for bytea

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] by request: base64 for bytea
Дата
Msg-id 9486.993350806@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] by request: base64 for bytea  (Marko Kreen <marko@l-t.ee>)
Ответы Re: [PATCH] by request: base64 for bytea  (Marko Kreen <marko@l-t.ee>)
Список pgsql-hackers
Marko Kreen <marko@l-t.ee> writes:
> Question to -hackers: currently there is not possible to cast
> bytea to text and vice-versa.  Is this intentional or bug?

Intentional.  text and friends do not like embedded nulls.

If there were a cast it would have to be one that implies
an I/O conversion, just like any other type that contains
non-textual data.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCH] Re: Setuid functions
Следующее
От: Philip Warner
Дата:
Сообщение: Re: Setuid functions