Re: Loading Binary Data into Bytea Fields?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(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 03:44:20
Message-ID: 40EB7194.5060005@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I suggest using large objects over bytea fields.
What language are you using?

Sincerely,

Joshua D. Drake

Jerry LeVan wrote:

> I am getting ready to try to add image viewing into my postgresql
> browser...
>
> I am probably going to start with storing a thumbnail and a URL for
> the actual
> image in the table.
>
> Is there any demo code for loading binary (actually images...) data
> into a bytea field.
>
> The data is going to come from a file....
>
> Jerry
>
> PS: Searching the archives has become painfully slow for me...are
> there any mirror
> sites that have reasonable response times?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd(at)commandprompt(dot)com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL

In response to

Browse pgsql-general by date

  From Date Subject
Next Message mike g 2004-07-07 03:57:39 Re: server closed the connection unexpectedly
Previous Message Jerry LeVan 2004-07-07 01:41:58 Loading Binary Data into Bytea Fields?