Re: large objects and pg 7.3.x - Mailing list pgsql-odbc

From Julie May
Subject Re: large objects and pg 7.3.x
Date
Msg-id 018701c366a9$3aea84e0$a1d2a8c0@impsu.net
Whole thread Raw
In response to Re: large objects and pg 7.3.x  ("Hiroshi Inoue" <inoue@tpf.co.jp>)
Responses Re: large objects and pg 7.3.x  (Andre Felipe Machado <andremachado@techforce.com.br>)
List pgsql-odbc
I am able to insert an image into postgresql using the psqlodbc driver. I
created the lo type using the files in the contrib directory. I was never
able to make the lo_manage() function work. Instead I created my own
functions and used triggers to execute them. I only needed the functions for
deleting and updating records. I haven't had any problems inserting. When
the lo type was created it should have created the following functions :
lo(oid)
lo_in(cstring)
lo_manage()
lo_oid(public.lo)
lo_out(public.lo)
oid(public.lo)

I hope that is somewhat helpfull.

Julie

<snip>
----- Original Message -----
From: "Andre Felipe Machado" <andremachado@techforce.com.br>
> The postgresql psql tool can insert an image (can also extracts it) using
> direct sql commands. And OpenOffice can display it at the form.
> When trying to save a new record, containing a new image, the program
> complains.
> The error message is reproduced at near the end of the attached sql log
file.
> I hope this help.
> Regards.
> Andre Felipe

</snip>


pgsql-odbc by date:

Previous
From: Andre Felipe Machado
Date:
Subject: Re: large objects and pg 7.3.x
Next
From: Andre Felipe Machado
Date:
Subject: Re: large objects and pg 7.3.x