pqreset?

Поиск
Список
Период
Сортировка
От Michael Lam
Тема pqreset?
Дата
Msg-id C5F1D2493CDBD14F83AD2DCA9DB882ED1371AD@xch05ykf.rim.net
обсуждение исходный текст
Список pgsql-interfaces
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


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

Предыдущее
От: "Llew"
Дата:
Сообщение: Re: COPY from files does not work
Следующее
От: "Jeroen T. Vermeulen"
Дата:
Сообщение: libpqxx (proposed new C++ frontend) online