RE: [INTERFACES] invalid lo descriptorc in begin commit fraze - Mailing list pgsql-interfaces

From Peter Mount
Subject RE: [INTERFACES] invalid lo descriptorc in begin commit fraze
Date
Msg-id 1B3D5E532D18D311861A00600865478C70C1E9@exchange1.nt.maidstone.gov.uk
Whole thread Raw
Responses Re: [INTERFACES] invalid lo descriptorc in begin commit fraze  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.Mazurek@poznan.multinet.pl [mailto:M.Mazurek@poznan.multinet.pl]
Sent: Tuesday, February 15, 2000 5:12 PM
To: pgsql-interfaces@postgreSQL.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


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


pgsql-interfaces by date:

Previous
From: Peter Mount
Date:
Subject: RE: [INTERFACES] DELETEs with jdbc
Next
From: Constantin Teodorescu
Date:
Subject: A question on triggers