pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ter062424 <ter062424@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: ODBC SELECT Timeout
Date: Tue, 28 May 2013 13:20:02 -0700 (PDT)
Message-ID: <1369772401956-5757210.post@n5.nabble.com> (raw)
In-Reply-To: <519FD7F3.7050209@tpf.co.jp>
References: <1369242527629-5756490.post@n5.nabble.com>
	<519FD7F3.7050209@tpf.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

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



view thread (6+ messages)  latest in thread

Message-ID: <1369772401956-5757210.post@n5.nabble.com>
Permalink:  ../1369772401956-5757210.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1369772401956-5757210.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: ter062424@gmail.com
  Subject: Re: ODBC SELECT Timeout
  In-Reply-To: <1369772401956-5757210.post@n5.nabble.com>
  References: <1369242527629-5756490.post@n5.nabble.com> <519FD7F3.7050209@tpf.co.jp> <1369772401956-5757210.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox