Re: invalid large obj descriptor(0) - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: invalid large obj descriptor(0)
Date
Msg-id 12619.1048517259@sss.pgh.pa.us
Whole thread Raw
In response to invalid large obj descriptor(0)  ("Pavel Eremenko" <napaulm@shark.east.ru>)
List pgsql-interfaces
"Pavel Eremenko" <napaulm@shark.east.ru> writes:
> I use Zeos library for C++ builder to interact with postgre server...
> (it uses libpq)
> when I post a blob data it fails on ApplyChanges() with
> "invalid large obj descriptor(0)" error...

From a backend perspective, this almost certainly means that you're
failing to wrap the sequence of large-object operations into a
single transaction.

> AutoCommit is set to false. So i dont know what is a problem.....

No idea here either; perhaps studying the Zeos library's documentation
some more will help.
        regards, tom lane



pgsql-interfaces by date:

Previous
From: "Pavel Eremenko"
Date:
Subject: invalid large obj descriptor(0)
Next
From: Damien Dougan
Date:
Subject: Asynchronous Communication across two independent components