using the same connection? - Mailing list pgsql-hackers

From Mathieu Dube
Subject using the same connection?
Date
Msg-id 01020611115202.14015@therver.local2.lan
Whole thread Raw
Responses Re: using the same connection?  (ncm@zembu.com (Nathan Myers))
Re: using the same connection?  (Peter T Mount <peter@retep.org.uk>)
List pgsql-hackers
Hi y'all,Is it a bad idea for an app to keep just a couple of connections to a
database, put semaphore/mutex on them and reuse them all through the program?Of course I would check if their PQstatus
isntat CONNECTION_BAD and
 
reconnect if they were...I need some opinions on that practice...                    Thanks                      -Mat

-- 
Mathieu Dube    
Mondo-Live            
www.flipr.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: little bug in current CVS
Next
From: Tom Lane
Date:
Subject: Re: [SQL] PL/PGSQL function with parameters