Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UhQNX-0002OJ-D6 for pgsql-odbc@arkaria.postgresql.org; Tue, 28 May 2013 20:20:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UhQNW-0007PB-MG for pgsql-odbc@arkaria.postgresql.org; Tue, 28 May 2013 20:20:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UhQNP-0007Ja-Ji for pgsql-odbc@postgresql.org; Tue, 28 May 2013 20:20:11 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UhQNI-0003ba-AZ for pgsql-odbc@postgresql.org; Tue, 28 May 2013 20:20:11 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UhQNG-00053s-4T for pgsql-odbc@postgresql.org; Tue, 28 May 2013 13:20:02 -0700 Date: Tue, 28 May 2013 13:20:02 -0700 (PDT) From: ter062424 To: pgsql-odbc@postgresql.org Message-ID: <1369772401956-5757210.post@n5.nabble.com> In-Reply-To: <519FD7F3.7050209@tpf.co.jp> References: <1369242527629-5756490.post@n5.nabble.com> <519FD7F3.7050209@tpf.co.jp> Subject: Re: ODBC SELECT Timeout MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 1.2 (+) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org Hello Hiroshi, I set UseServerSidePrepare=1 in /etc/odbcinst.ini and then ran odbcinst -i -d -f /etc/odbcinst.ini. The SELECT query over ODBC ran for about 1 hour, and then died with: SQLNumResultCols: -1/1; S1000/[unixODBC]No query has been executed with that handle One thing I have noticed is that it always runs for about 1 hour (usually 55-59 minutes) before it dies. Is it possible that something is timing out on the postgreSQL server side, or ODBC side? I really appreciate the help with this, if you have any other advice, I'll be glad to give it a try. I did research timeouts on the postgreSQL Server end, but it seemed to indicate that the default is for it not to time out, and I haven't modified anything in postgresql.conf except to have the system listen on 5432. Regards, Tom -- View this message in context: http://postgresql.1045698.n5.nabble.com/ODBC-SELECT-Timeout-tp5756490p5757210.html Sent from the PostgreSQL - odbc mailing list archive at Nabble.com. -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc