Re: invalid large obj descriptor(0)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pavel Eremenko" <napaulm(at)shark(dot)east(dot)ru>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: invalid large obj descriptor(0)
Date: 2003-03-24 14:47:39
Message-ID: 12619.1048517259@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

"Pavel Eremenko" <napaulm(at)shark(dot)east(dot)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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Damien Dougan 2003-03-24 15:35:25 Asynchronous Communication across two independent components
Previous Message Pavel Eremenko 2003-03-24 06:56:50 invalid large obj descriptor(0)