Re: persistent connection with c++

From: "J(dot) T(dot) Vermeulen" <jtv(at)cistron-office(dot)nl>
To: Shane Hansen <sl1fm(at)cc(dot)usu(dot)edu>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: persistent connection with c++
Date: 2001-04-27 16:47:55
Message-ID: 20010427184755.F21157@cistron.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 connection that could be used by many different functions. Is this possible using libpq++? Any suggestions would really help 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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Graham Vickrage 2001-04-27 17:02:32 RE: VB and ODBC
Previous Message Michael Ansley (UK) 2001-04-27 15:05:19 RE: VB and ODBC