Re: Loading Binary Data into Bytea Fields?

From: Robby Russell <robby(at)planetargon(dot)com>
To: Jerry LeVan <jerry(dot)levan(at)eku(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Loading Binary Data into Bytea Fields?
Date: 2004-07-07 14:27:23
Message-ID: 1089210443.3037.155.camel@vacant
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2004-07-07 at 05:12, Jerry LeVan wrote:
> Objective C via Libpq, the thumbnails are not going to be very big.
>
> Large objects seem a bit out of place and require extra care
> when backing up and doing deletions....
>
> Jerry

Well, from my experience large objects are faster than bytea.
Also, some info on the main 3-4 different options:
http://www.varlena.com/varlena/GeneralBits/25.html (look under the
heading, "storing images in database"

One method that they mentiond was storing them in a text field with
Base-64 encoding, as this would allow you to export/import/talk with
other databases (mysql, ...) should that be required in your
environment.

cheers,

-Robby

--
Robby Russell | Owner.Developer.Geek
PLANET ARGON | www.planetargon.com
Portland, OR | robby(at)planetargon(dot)com
503.351.4730 | blog.planetargon.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-07-07 14:35:53 Re: Error in postgreSQL
Previous Message Kaarel 2004-07-07 13:43:47 Re: [GENERAL] Do we need more emphasis on backup?