Re: Gripe: bytea_output default => data corruption - Mailing list pgsql-general

From Rajesh Kumar Mallah
Subject Re: Gripe: bytea_output default => data corruption
Date
Msg-id AANLkTi=SH6s3FcsCf0quZm09-XgncTnQPR18-Z6GVqsU@mail.gmail.com
Whole thread Raw
In response to Re: Gripe: bytea_output default => data corruption  (ljb <ljb9832@pobox.com>)
Responses Re: Gripe: bytea_output default => data corruption
List 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 by date:

Previous
From: Raymond O'Donnell
Date:
Subject: Re: Gripe: bytea_output default => data corruption
Next
From: Craig Ringer
Date:
Subject: Re: pitr question