Re: Problem inserting image - Mailing list pgsql-sql

From Richard Broersma
Subject Re: Problem inserting image
Date
Msg-id 396486430812221233y25aa24s69197c507ae36ec7@mail.gmail.com
Whole thread Raw
In response to Problem inserting image  (Tk421 <vrobador@gmail.com>)
List pgsql-sql
On Mon, Dec 22, 2008 at 12:08 PM, Tk421 <vrobador@gmail.com> wrote:

>     I've made a routine in VB to insert a image into a table. The code is:
>     But on execute there is the next error: ERROR: type "lo" does not exist;
>
>     How can i reference the "lo" type or create it, in postgres 8.3

Here is an example how how ADODB.Stream class work in conjunction with
ADODB.command prepared statements to push binary data into a field.
The same should work with PostgreSQL.

http://www.databasedevelopment.co.uk/examples/StoredBlobs.zip



-- 
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug


pgsql-sql by date:

Previous
From: Tk421
Date:
Subject: Problem inserting image
Next
From: "Venkat Rao Tammineni"
Date:
Subject: How to Import Excel Into PostgreSQL database