Re: Client encoding conversion for binary data (was Re: GUC and postgresql.conf docs) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Client encoding conversion for binary data (was Re: GUC and postgresql.conf docs)
Date
Msg-id 7687.1053003291@sss.pgh.pa.us
Whole thread Raw
In response to Re: Client encoding conversion for binary data (was Re:  (Hannu Krosing <hannu@tm.ee>)
Responses Re: Client encoding conversion for binary data (was Re:
List pgsql-hackers
Hannu Krosing <hannu@tm.ee> writes:
> I have not been closely following the discussion about FE/BE protocol
> changes, but the way converting binary seems dangerous - if you insert a
> .gif file into bytea column using decode(encodedgiffile,'base64'), but
> would like to get it out in binary for performance reasons, it is not
> good if it gets run through conversion routines.

bytea does not get converted in any case.  The issue here is what to do
about text datatypes.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Client encoding conversion for binary data (was Re:
Next
From: Cédric Coulon
Date:
Subject: predict conflict