pqreset? - Mailing list pgsql-interfaces

From Michael Lam
Subject pqreset?
Date
Msg-id C5F1D2493CDBD14F83AD2DCA9DB882ED1371AD@xch05ykf.rim.net
Whole thread Raw
List 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 by date:

Previous
From: "Llew"
Date:
Subject: Re: COPY from files does not work
Next
From: "Jeroen T. Vermeulen"
Date:
Subject: libpqxx (proposed new C++ frontend) online