Re: Gripe: bytea_output default => data corruption

Поиск
Список
Период
Сортировка
От Rajesh Kumar Mallah
Тема Re: Gripe: bytea_output default => data corruption
Дата
Msg-id AANLkTi=SH6s3FcsCf0quZm09-XgncTnQPR18-Z6GVqsU@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Gripe: bytea_output default => data corruption  (ljb <ljb9832@pobox.com>)
Ответы Re: Gripe: bytea_output default => data corruption  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general
Dear Griper!,

fortunately someone showed a easy 'fix'

ALTER DATABASE foo SET bytea_output='escape' ;


Regds
Rajesh Kumar Mallah.


On Wed, Oct 13, 2010 at 5:03 PM, ljb <ljb9832@pobox.com> wrote:
> rod@iol.ie wrote:
>>...
>> In fairness, it *is* flagged in the release note - it's the first item
>> under "data types" in the list of incompatibilities.
>
> Quote:
>    "bytea output now appears in hex format by default (Peter Eisentraut)
>     The server parameter bytea_output can be used to select the
>     traditional output format if needed for compatibility."
>
> This is inadequate, because it fails to warn that pre-9.0 clients will
> decode the data incorrectly without reporting an error.
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

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

Предыдущее
От: Raymond O'Donnell
Дата:
Сообщение: Re: Gripe: bytea_output default => data corruption
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: pitr question