Re: fastpath error?

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: <cmarkiew(at)commnav(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: fastpath error?
Date: 2001-03-29 09:12:45
Message-ID: 5.0.2.1.0.20010329101120.01fcbdd0@mail.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

At 07:56 28/03/01 -0500, chris markiewicz wrote:
>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)

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

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.

Peter

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Mount 2001-03-29 09:20:44 Re: [JDBC] Logging Queries
Previous Message Marcin Kowalski 2001-03-29 08:35:06 Re: pg_dump potential bug -UNIQUE INDEX on PG_SHADOW Dont!! HELP

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter Mount 2001-03-29 09:20:44 Re: [JDBC] Logging Queries
Previous Message Aaron Brashears 2001-03-29 09:12:08 DataSource