Skip site navigation (1) Skip section navigation (2)

RE: JDBC for 7.0 - Tuple received before MetaData exception

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Joseph Shraibman'" <jks(at)selectacast(dot)net>, Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
Cc: "'Gunnar R|nning'" <gunnar(at)candleweb(dot)no>, pgsql-interfaces(at)postgresql(dot)org
Subject: RE: JDBC for 7.0 - Tuple received before MetaData exception
Date: 2000-05-30 07:04:15
Message-ID: 1B3D5E532D18D311861A00600865478CF1AE72@EXCHANGE1 (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
No you can run multiple threads, as long as it is one statement per thread.
My thinking at the time was that your code may not have been running one
statement per thread, or that the locking on PG_Stream wasn't working


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

-----Original Message-----
From: Joseph Shraibman [mailto:jks(at)selectacast(dot)net]
Sent: Friday, May 26, 2000 8:11 PM
To: Peter Mount
Cc: 'Gunnar R|nning'; pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] JDBC for 7.0 - Tuple received before MetaData

Peter Mount wrote:
> Not sure, but the only way this could happen is what it states: It's
> getting tuples before it's expecting to get them.
> Are you running multiple threads on the same connection?
You mean you can't do that?  I thought you couldn't on the same
Statement.  My code creates one connection object and gets a statement
from it for each thread.

pgsql-interfaces by date

Next:From: Peter MountDate: 2000-05-30 07:24:10
Subject: RE: jdbc driver: Why it isn't jdbcCompliant?
Previous:From: Peter MountDate: 2000-05-30 06:46:28
Subject: RE: Postgresql 7.0 JDBC exceptions - broken connections ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group