Saving a jpg into Postgresql table - Mailing list pgsql-general

From Gibson
Subject Saving a jpg into Postgresql table
Date
Msg-id 44ED7E98.6090600@nexgenstudio.com
Whole thread Raw
Responses Re: Saving a jpg into Postgresql table  (Michael Fuhr <mike@fuhr.org>)
Re: Saving a jpg into Postgresql table  (Kaloyan Iliev <news1@faith.digsys.bg>)
List pgsql-general
Hi guys,

I have a projects using ASP.NET (VB.net) where i upload a jpeg file
using a web form and then save the jpeg file into a table. I've decided
to use "Oid" instead of "Bytea" as i heard that "Oid" is more memory
efficient. So can anyone point me to a website or link where i can see
the VB.net or C# code that does the SQL insert of the jpeg file into the
"Oid" data type column and also how to do a SQL select to retrieve and
display the image on a web form? Thanks
--

Cheers
Gibson Tang
Game Programmer
179, River Valley Building #04-09
Singapore 179033
Nexgen Studio <www.nexgenstudio.com>

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: invalid byte sequence ?
Next
From: "Nikolay Samokhvalov"
Date:
Subject: Re: XPath and XML support