using the same connection?

Поиск
Список
Период
Сортировка
От Mathieu Dube
Тема using the same connection?
Дата
Msg-id 01020611115202.14015@therver.local2.lan
обсуждение исходный текст
Ответы Re: using the same connection?  (ncm@zembu.com (Nathan Myers))
Re: using the same connection?  (Peter T Mount <peter@retep.org.uk>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: little bug in current CVS
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] PL/PGSQL function with parameters