Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 36E0D2E00B4 for ; Fri, 22 Feb 2008 07:47:05 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 35639-02 for ; Fri, 22 Feb 2008 07:46:46 -0400 (AST) Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id 1BBE52E00D3 for ; Fri, 22 Feb 2008 07:46:45 -0400 (AST) Received: from 219-89-240-176.adsl.xtra.co.nz ([219.89.240.176] helo=[192.168.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JSWMP-0005ec-BY; Sat, 23 Feb 2008 00:46:37 +1300 Message-ID: <47BEB62A.7000009@opencloud.com> Date: Sat, 23 Feb 2008 00:46:50 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Agustin CS CC: pgsql-jdbc@postgresql.org Subject: Re: Problem executing remote SELECT's (through internet) with JDBC References: <9fb413bd0802220252g130e6a62v1df36db15b691419@mail.gmail.com> In-Reply-To: <9fb413bd0802220252g130e6a62v1df36db15b691419@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/174 X-Sequence-Number: 18381 Agustin CS wrote: > Hello all, > > I have a problem invocating SELECT statements using Java JDBC driver > having a remote communication between PostgreSQL database client-server > through Internet. You may want to re-run with logLevel=2 as a connection parameter; then the driver will log all the network I/O it is doing. Without a detailed TCP trace I can't be sure but it sounds like perhaps you have a path MTU discovery problem between the server and client, or something similar. I suspect that when you turn on driver debugging, you will see the driver just stop receiving new data from the network at some point. (if you like, mail me a tcpdump or wireshark packet capture off-list - ideally one capture from each end of the connection - and I'll take a look) -O