Re: ODBC SELECT Timeout

From: ter062424 <ter062424(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: ODBC SELECT Timeout
Date: 2013-05-28 20:20:02
Message-ID: 1369772401956-5757210.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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.

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Joshua Berry 2013-05-29 03:02:02 Re: Segmentation Fault in Postgres server when using psqlODBC
Previous Message Hiroshi Inoue 2013-05-28 20:19:19 Re: Segmentation Fault in Postgres server when using psqlODBC