Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Odbc > Re: Connection ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 12 Topic 2335 of 2443
Post > Topic >>

Re: Connection of postgres

by l7nguyen@[EMAIL PROTECTED] ("Nguyen, Lam Thuy") Apr 10, 2008 at 01:57 AM

i open connection, and leave it for few hour, and then excute query, and
ge=
t error.

________________________________

From: pgsql-odbc-owner@[EMAIL PROTECTED]
 on behalf of Adam M
Sent: Wed 4/9/2008 2:40 PM
Cc: pgsql-odbc@[EMAIL PROTECTED]
 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@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



This email may contain material that is confidential, privileged, and/or
at=
torney work product for the sole use of the intended recipient.  Any
review=
, reliance, or distribution by others or forwarding without express
permiss=
ion is strictly prohibited.  If you are not the intended recipient, please
=
contact the sender and delete all copies.

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




 12 Posts in Topic:
get number of rows selected
paul.malm@[EMAIL PROTECTE  2008-04-03 15:20:04 
Connection of postgres
l7nguyen@[EMAIL PROTECTED  2008-04-03 21:04:05 
Re: Connection of postgres
andyk@[EMAIL PROTECTED]   2008-04-07 04:35:57 
Re: Connection of postgres
l7nguyen@[EMAIL PROTECTED  2008-04-07 08:38:19 
Re: Connection of postgres
andyk@[EMAIL PROTECTED]   2008-04-07 05:26:00 
Re: Connection of postgres
l7nguyen@[EMAIL PROTECTED  2008-04-07 09:40:03 
Re: Connection of postgres
rod@[EMAIL PROTECTED] (&  2008-04-07 16:05:09 
Re: Connection of postgres
l7nguyen@[EMAIL PROTECTED  2008-04-08 01:02:30 
Re: get number of rows selected
gnuman1@[EMAIL PROTECTED]  2008-04-03 11:30:07 
Re: get number of rows selected
andyk@[EMAIL PROTECTED]   2008-04-07 04:30:16 
Re: Connection of postgres
gnuman1@[EMAIL PROTECTED]  2008-04-09 13:40:28 
Re: Connection of postgres
l7nguyen@[EMAIL PROTECTED  2008-04-10 01:57:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 14:50:18 CST 2008.