Re: persistent connection with c++ - Mailing list pgsql-interfaces

From J. T. Vermeulen
Subject Re: persistent connection with c++
Date
Msg-id 20010427184755.F21157@cistron.nl
Whole thread Raw
In response to persistent connection with c++  ("Shane Hansen" <sl1fm@cc.usu.edu>)
List pgsql-interfaces
On Thu, 26 Apr 2001, Shane Hansen wrote:

> I have a search engine in c++ that does many different database queries.  I would like to maintain a persistent
connectionthat could be used by many different functions.  Is this possible using libpq++?  Any suggestions would
reallyhelp me out.
 

Sure, just use PgDatabase and send multiple queries through it.  It will clear
your result set every time you issue a new one.


Jeroen



pgsql-interfaces by date:

Previous
From: "Michael Ansley (UK)"
Date:
Subject: RE: VB and ODBC
Next
From: "Graham Vickrage"
Date:
Subject: RE: VB and ODBC