Markus Mehrwald <[EMAIL PROTECTED]> writes:
> I tried to insert an image in my database with lo_import. The error I
> get is "invalid large object descriptor: 0".
lo_import has to be called within a transaction block (BEGIN/COMMIT).
The documentation is not very clear about that :-(
(Actually, ra
Hello,
I tried to insert an image in my database with lo_import. The error I
get is "invalid large object descriptor: 0". If I try to create an oid I
get a valid one but with lo_import it seems not to work. The connection
is ok as well.
The folloing code produces the output after the code.
if (PQ