Обсуждение: pqreset?

Поиск
Список
Период
Сортировка

pqreset?

От
Michael Lam
Дата:
My application is trying to keep a pool of consistent connections and uses
libpq.

After a connection is established with PQconnectdb, is there a way a program
can detect a shutdown of the database and try to reconnect?  I have tried
PQreset, but it only works for the situation

start application
start database

but not for

start database
start application
stop database
start database

Has anyone encountered this as well?  I'm using the Forte compiler on
Solaris 7.

Thanks!

Mike