fastpath error? - Mailing list pgsql-general

From chris markiewicz
Subject fastpath error?
Date
Msg-id 012401c0b786$942a6180$dbb846c6@cmarkiewicz
Whole thread Raw
In response to Re: Migrating from a DB2/400 to Postgres.  (martin.chantler@convergys.com)
Responses Re: fastpath error?
List pgsql-general
Hello.

I am occasionally (seemingly randomly) seeing the following error when I try
to load a large object.

FastPath call returned ERROR:  lo_close: invalid large obj descriptor (0)

    at org.postgresql.fastpath.Fastpath.fastpath(Fastpath.java:141)
    at org.postgresql.fastpath.Fastpath.fastpath(Fastpath.java:191)
    at org.postgresql.largeobject.LargeObject.close(LargeObject.java:105)
    at org.postgresql.jdbc2.ResultSet.getBytes(ResultSet.java:371)
    at org.postgresql.jdbc2.ResultSet.getBytes(ResultSet.java:580)
    at
com.commnav.sbh.framework.persist.JDBCEngine2.loadResultSet(JDBCEngine2.java
:259)
    at com.commnav.sbh.framework.persist.JDBCEngine2.load(JDBCEngine2.java:156)
    at
com.commnav.sbh.framework.persist.PersistenceObject.load(PersistenceObject.j
ava:147)


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
resources?

thanks
chris


pgsql-general by date:

Previous
From: martin.chantler@convergys.com
Date:
Subject: Re: Migrating from a DB2/400 to Postgres.
Next
From: Joel Dudley
Date:
Subject: undefined symbol in create new function