pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Till Toenges <tt@kyon.de>
To: Maciek Sakrejda <msakrejda@truviso.com>
Cc: Lew <noone@lewscanon.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: PSQLException: The column name <col> was not found in this ResultSet.
Date: Fri, 12 Nov 2010 07:22:58 +0100
Message-ID: <4CDCDD42.6080103@kyon.de> (raw)
In-Reply-To: <AANLkTimgd-ksOoersMpF=YhpZyWorY0n=cYxq3dDF4Fu@mail.gmail.com>
References: <270369.52816.qm@web113412.mail.gq1.yahoo.com>
	<alpine.BSO.2.00.1011091909160.7107@leary.csoft.net>
	<AANLkTimb4b+hv-8M+VwEUw_91y6Bw75u+i26sVZCD=kF@mail.gmail.com>
	<ibi7js$71l$1@news.albasani.net>
	<AANLkTimKWEdBdJS2gRFLYrHcAHNiA-Hx8=KGA7ucu3HH@mail.gmail.com>
	<ibij1o$kgv$1@news.albasani.net>
	<AANLkTimgd-ksOoersMpF=YhpZyWorY0n=cYxq3dDF4Fu@mail.gmail.com>

On 2010-11-12 07:18, Maciek Sakrejda wrote:
> We're getting off topic--perhaps I didn't express myself clearly.
> Getting back to Samuel's original point, if the ResultSet interface
> contract does not require a given implementation to provide thread
> safety for these operations--and it appears that it does not--then
> maybe pgjdbc should not try to provide it. If a user needs to use a
> ResultSet from multiple threads, it can be synchronized externally.

The pgjdbc driver is supposed to be thread safe:

http://jdbc.postgresql.org/documentation/pgjdbc.html#Using+the+Driver+in+a+Multithreaded+or+a+Servle...

Whether this is good or bad doesn't matter. Has been this way forever, 
can't change that now.


Till

-- 
Kyon, Till Toenges, tt@kyon.de, http://kyon.de
Blumenstr. 39, 47798 Krefeld, +49-2151-3292595



view thread (20+ messages)  latest in thread

Message-ID: <4CDCDD42.6080103@kyon.de>
Permalink:  ../4CDCDD42.6080103@kyon.de/
Also on:    postgresql.org/message-id/4CDCDD42.6080103@kyon.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tt@kyon.de, msakrejda@truviso.com, noone@lewscanon.com
  Subject: Re: PSQLException: The column name <col> was not found in this ResultSet.
  In-Reply-To: <4CDCDD42.6080103@kyon.de>
  References: <270369.52816.qm@web113412.mail.gq1.yahoo.com> <alpine.BSO.2.00.1011091909160.7107@leary.csoft.net> <AANLkTimb4b+hv-8M+VwEUw_91y6Bw75u+i26sVZCD=kF@mail.gmail.com> <ibi7js$71l$1@news.albasani.net> <AANLkTimKWEdBdJS2gRFLYrHcAHNiA-Hx8=KGA7ucu3HH@mail.gmail.com> <ibij1o$kgv$1@news.albasani.net> <AANLkTimgd-ksOoersMpF=YhpZyWorY0n=cYxq3dDF4Fu@mail.gmail.com> <4CDCDD42.6080103@kyon.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox