Regarding the fastpath error (ERROR: lo_close: invalid large obj descriptor
(0)...i also get this with lo_tell, etc)...
is there any possible cause that is not related to autoCommit? our app does
a lot of transactional stuff so autocommit is set to false for all
connections (i added some logging that shows me the autocommit attribute and
it's false even when this error occurs)...i still see this problem
i appreciate your help.
[mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of Peter Mount
Sent: Thursday, March 29, 2001 4:13 AM
To: cmarkiew(at)commnav(dot)com; pgsql-general(at)postgresql(dot)org
Subject: Re: fastpath error?
At 07:56 28/03/01 -0500, chris markiewicz wrote:
>I am occasionally (seemingly randomly) seeing the following error when I
>to load a large object.
>FastPath call returned ERROR: lo_close: invalid large obj descriptor (0)
You must setAutoCommit(false) before using any large object.
Can someone give me some insight on this? Can I call lo_close explicitly if
>i get this error? Can I ignore it or will that leave me with open
There are no open resources at the time of the error. Because lo's need to
be within a transaction when the transaction closes, so do the lo's.
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
In response to
pgsql-jdbc by date
|Next:||From: Andrew B. Luck||Date: 2001-04-12 20:22:58|
|Subject: jdbc works with java programs. not with tomcat.|
|Previous:||From: Rajesh Balla||Date: 2001-04-12 02:33:54|
|Subject: jdbc driver Multiple Resultsets|
pgsql-general by date
|Next:||From: Alessio Bragadini||Date: 2001-04-12 14:03:42|
|Subject: Re: to_char(now(), 'YYYY') and time zones|
|Previous:||From: Justin Clift||Date: 2001-04-12 12:40:56|
|Subject: Re: [GENERAL] Re: ongoing holy grail thread|