Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id D74A61337B83 for ; Fri, 12 Nov 2010 02:28:09 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 37553-09 for ; Fri, 12 Nov 2010 06:28:02 +0000 (UTC) X-Greylist: delayed 00:05:00.924355 by SQLgrey-1.7.6 Received: from mail.kyon.de (mail.kyon.de [85.159.14.69]) by mail.postgresql.org (Postfix) with ESMTP id E3C801337B6F for ; Fri, 12 Nov 2010 02:28:01 -0400 (AST) Received: from holly.local (p3EE1E77B.dip.t-dialin.net [62.225.231.123]) (AUTH: LOGIN tt, SSL: TLSv1/SSLv3,256bits,CAMELLIA256-SHA) by mail.kyon.de with esmtp; Fri, 12 Nov 2010 07:22:59 +0100 id 00003124.000000004CDCDD43.0001340D Message-ID: <4CDCDD42.6080103@kyon.de> Date: Fri, 12 Nov 2010 07:22:58 +0100 From: Till Toenges User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Maciek Sakrejda CC: Lew , pgsql-jdbc@postgresql.org Subject: Re: PSQLException: The column name was not found in this ResultSet. References: <270369.52816.qm@web113412.mail.gq1.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/31 X-Sequence-Number: 21152 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+Servlet+Environment 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