X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 026189FB1C0 for ; Sun, 13 Aug 2006 02:37:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 56643-07 for ; Sun, 13 Aug 2006 05:37:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id E64D29FB1BD for ; Sun, 13 Aug 2006 02:37:10 -0300 (ADT) Received: from 203-118-178-246.bliink.ihug.co.nz ([203.118.178.246] helo=[10.1.1.6]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1GC8eq-0007ah-Cr; Sun, 13 Aug 2006 17:37:08 +1200 Message-ID: <44DEBA73.6030504@opencloud.com> Date: Sun, 13 Aug 2006 17:36:51 +1200 From: Oliver Jowett User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: James Im CC: pgsql-jdbc@postgresql.org Subject: Re: SQL query never ends References: 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=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200608/72 X-Sequence-Number: 15599 James Im wrote: > I think that one way to find out would be to get enough information > about what's happening from the java side (something like loglevel=10 > ?). The driver (or a special version of the driver just for this > purpose) could contain a lot more traces so that: 1) any problem of > synchronization could be discarded. 2) you could know what java has sent > through the socket and 3) what it has received until the moment the > code will block. This is essentially what loglevel=2 already does already .. -O