Re: BYTEA or LO? - Mailing list pgsql-novice

From Jean-Yves F. Barbier
Subject Re: BYTEA or LO?
Date
Msg-id 20110531210126.2bc7060e@anubis.defcon1
Whole thread Raw
In response to Re: BYTEA or LO?  ("ktm@rice.edu" <ktm@rice.edu>)
Responses Re: BYTEA or LO?  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-novice
On Tue, 31 May 2011 13:40:02 -0500, "ktm@rice.edu" <ktm@rice.edu> wrote:

...
> That is needed to use the non-binary API. You can also use hex encoding
> starting with 9.0, I think. The data is stored in binary internally so you
> should not get a 33% bump in size. If you use the binary API, you can avoid
> the hex/base64 encoding pass as well.

I just read the doc but didn't fully understand the binary part.

Do you mean that with BYTEA binary type I can directly R/W my pictures
without any transcoding trick?

--

pgsql-novice by date:

Previous
From: "ktm@rice.edu"
Date:
Subject: Re: BYTEA or LO?
Next
From: Merlin Moncure
Date:
Subject: Re: BYTEA or LO?