RE: [INTERFACES] invalid lo descriptorc in begin commit fraze

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'M(dot)Mazurek(at)poznan(dot)multinet(dot)pl'" <M(dot)Mazurek(at)poznan(dot)multinet(dot)pl>, pgsql-interfaces(at)postgresql(dot)org
Subject: RE: [INTERFACES] invalid lo descriptorc in begin commit fraze
Date: 2000-02-16 08:52:15
Message-ID: 1B3D5E532D18D311861A00600865478C70C1E9@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I'll look into it. There shouldn't be anything in the driver to limit
the number of concurrent objects.

Does anyone else see this type of problem (I'm thinking of those who use
libpq rather than JDBC)?

Peter

--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.

-----Original Message-----
From: M(dot)Mazurek(at)poznan(dot)multinet(dot)pl [mailto:M(dot)Mazurek(at)poznan(dot)multinet(dot)pl]
Sent: Tuesday, February 15, 2000 5:12 PM
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: [INTERFACES] invalid lo descriptorc in begin commit fraze

Hi,
I have a servlet which some lo (images) from postgres and ouputs them to
the web page. If I start only one instatnce of that servlet - no
problem. When there are serveral servlets reading lo -
FastPath call returned ERROR: lo_read: invalid large obj descriptor (1)
I have db.AutoCommit(false) at opening the connection, and
db.commit() after reading data.
How to read serveral lo, even the same one in the same time from various
servlets avoiding that error?
linux2.0.13, jserv1.1, postgresql6.3.5, jsdk2.0, jdk1.2.2

thx
mazek

************

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Constantin Teodorescu 2000-02-16 13:58:46 A question on triggers
Previous Message Peter Mount 2000-02-16 08:28:15 RE: [INTERFACES] DELETEs with jdbc