Re: Bytea/Base64 encoders for libpq - interested?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bytea/Base64 encoders for libpq - interested?
Дата
Msg-id 27436.999624806@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bytea/Base64 encoders for libpq - interested?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Bytea/Base64 encoders for libpq - interested?
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Let me ask a bigger question.  We have the length of the text string in
> the varlena header.  Are we concerned about backend code not handling
> NULL in text fields, or frontend code returning strings with embedded
> nulls?

The former.

> I see problems in the text() functions for nulls, but is such a
> limitation required for text types?

Unless you want to re-implement strcoll() and friends from scratch.
        regards, tom lane


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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Bytea/Base64 encoders for libpq - interested?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Escaping strings for inclusion into SQL queries