Re: Bytea binary compatible

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bytea binary compatible
Дата
Msg-id 9258.993343162@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bytea binary compatible  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Bytea binary compatible  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Here is a patch to make bytea binary compatible with other text data
> types.  Comments?

No way!  Unless you propose to make the text types null-safe (which
would mean such nontrivial projects as replacing strcoll()).

The fact that the storage formats are both struct varlena does not
mean that these types are interchangeable.  I fail to see where it'd
be a good idea to mark them binary-compatible, even if there weren't
serious implementation issues.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Bytea binary compatible
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Bytea binary compatible