Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E95126345AD for ; Thu, 27 May 2010 16:29:08 -0300 (ADT) 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 27508-04 for ; Thu, 27 May 2010 19:29:01 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id 1AD1D634249 for ; Thu, 27 May 2010 16:29:00 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.3/8.14.3) with ESMTP id o4RJSlJu031458 for ; Thu, 27 May 2010 16:28:57 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.3/8.14.3/Submit) id o4MFVlep014267 for pgsql-jdbc@postgresql.org; Sat, 22 May 2010 12:31:47 -0300 (ADT) (envelope-from news) From: Lew X-Newsgroups: pgsql.interfaces.jdbc Subject: Re: After server restart I get - An I/O error occured while sending to the backend. Date: Sat, 22 May 2010 11:32:03 -0400 Organization: albasani.net Lines: 11 Message-ID: References: <4BF27D11.8020001@postnewspapers.com.au> <4BF7AA8C.8080008@postnewspapers.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@albasani.net X-User-ID: E4YM5YaOGhG+p+EayUeHImy6tEsvxWGXovssN4S2WrQ= In-Reply-To: Cancel-Lock: sha1:A3RXQSXN4Mgeaa6ba4FzJ/uvZew= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 X-NNTP-Posting-Host: o7lc5WOXI89XoFeNMGwxM6zCFDiDkiAEbIjM7iKI6qA= To: pgsql-jdbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-10 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/75 X-Sequence-Number: 20559 Rod wrote: > To test the connection, what statement or command should I execute? > Anyone have code sample? The one you intend to execute to fulfill your program logic. E.g., "SELECT id, handle, attribute FROM foo" -- Lew