Re: BYTEA or LO?

From: "Jean-Yves F(dot) Barbier" <12ukwn(at)gmail(dot)com>
To: "ktm(at)rice(dot)edu" <ktm(at)rice(dot)edu>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: BYTEA or LO?
Date: 2011-05-31 19:01:26
Message-ID: 20110531210126.2bc7060e@anubis.defcon1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, 31 May 2011 13:40:02 -0500, "ktm(at)rice(dot)edu" <ktm(at)rice(dot)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?

--

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Merlin Moncure 2011-05-31 19:21:17 Re: BYTEA or LO?
Previous Message ktm@rice.edu 2011-05-31 18:40:02 Re: BYTEA or LO?