Re: Empty bytea format - 9.1devel pg_dump and psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Empty bytea format - 9.1devel pg_dump and psql
Дата
Msg-id 24988.1287432643@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Empty bytea format - 9.1devel pg_dump and psql  (Vladimir Kokovic <kokovic.vladimir@gmail.com>)
Список pgsql-bugs
Vladimir Kokovic <kokovic.vladimir@gmail.com> writes:
> I think that empty bytea shoukd be like in 8.4, without \\x !

We could do that, but it seems completely cosmetic.  The real problem
here is that you've got client-side code that doesn't understand the
hex-based format.  It's going to break as soon as it sees a non-empty
bytea, so what's the use of trying to make the empty-string case
backwards compatible?  It's probably better you find out about the
incompatibility sooner, so you can get on with fixing the real problem.

            regards, tom lane

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

Предыдущее
От: Vladimir Kokovic
Дата:
Сообщение: Re: Empty bytea format - 9.1devel pg_dump and psql
Следующее
От: Robert Haas
Дата:
Сообщение: Re: How do I remove PostgreSQL completely?