Re: Connection of postgres

Поиск
Список
Период
Сортировка
От Nguyen, Lam Thuy
Тема Re: Connection of postgres
Дата
Msg-id C3D5057033EDF145B90A99CD9025BFEA01C60206@hont05.fcg.com
обсуждение исходный текст
Ответ на get number of rows selected  ("Malm Paul" <paul.malm@saabgroup.com>)
Список pgsql-odbc
i open connection, and leave it for few hour, and then excute query, and get error.

________________________________

From: pgsql-odbc-owner@postgresql.org on behalf of Adam M
Sent: Wed 4/9/2008 2:40 PM
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Connection of postgres



I've had a similar "problem". The connection times out and get closed
after a few hours. The solution was to do a query to keep the database
alive, for example "SELECT 1" and that's all. That is done every few
minutes.

The real test is to open 250 connections, and issue queries on each
without idle time. Does connection drop occur on active connections?

--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



This email may contain material that is confidential, privileged, and/or attorney work product for the sole use of the
intendedrecipient.  Any review, reliance, or distribution by others or forwarding without express permission is
strictlyprohibited.  If you are not the intended recipient, please contact the sender and delete all copies. 

В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Adam M"
Дата:
Сообщение: Re: Connection of postgres
Следующее
От:
Дата:
Сообщение: [ psqlodbc-Bugs-1010376 ] GUID code missing in convert.c ("Unrecognized C_parameter ..") and fix