Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 62E419FA12B for ; Fri, 1 Dec 2006 17:36:40 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 87314-04 for ; Fri, 1 Dec 2006 17:36:30 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sulechow.net (sulechow.net [194.116.248.30]) by postgresql.org (Postfix) with ESMTP id 242869F9F0E for ; Fri, 1 Dec 2006 17:35:17 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by sulechow.net (Postfix) with ESMTP id 706D741A709; Fri, 1 Dec 2006 22:35:19 +0100 (CET) Received: from sulechow.net ([127.0.0.1]) by localhost (sulechow [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06994-05; Fri, 1 Dec 2006 22:35:19 +0100 (CET) Received: from [10.2.1.39] (nat2-003.sulechow.net [194.116.249.3]) by sulechow.net (Postfix) with ESMTP id 542FE41A672; Fri, 1 Dec 2006 22:35:19 +0100 (CET) Message-ID: <4570A0AB.5050806@sulechow.net> Date: Fri, 01 Dec 2006 22:37:47 +0100 From: Marcin Waldowski User-Agent: Icedove 1.5.0.7 (X11/20061013) MIME-Version: 1.0 To: Mark Lewis CC: pgsql-jdbc@postgresql.org Subject: Re: Locking on PGStream.ReceiveChar(PGStream.java:256) References: <45702B1A.4030401@sulechow.net> <1164989336.9734.19.camel@archimedes> In-Reply-To: <1164989336.9734.19.camel@archimedes> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by mks-vir (http://www.mks.com.pl) at sulechow.net X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/30 X-Sequence-Number: 16262 Yes, I'm sure that no more than one thread is using a Connection at the same time. Im almost sure that unfortunately it is bug of PostgreSQL Windows port (http://archives.postgresql.org/pgsql-hackers/2006-10/msg00289.php) as Kris Jurka previously said. Marcin Mark Lewis wrote: > You may want to confirm that no more than one thread is using a > Connection (or a statement/resultset off of that connection) at the same > time. A couple of folks on this list have reported similar stalls that > were resolved by single-threading access to each Connection. > > -- Mark >