pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedpersistent connection with c++
2+ messages / 2 participants
[nested] [flat]
* persistent connection with c++
@ 2001-04-26 17:13 Shane Hansen <sl1fm@cc.usu.edu>
2001-04-27 16:47 ` Re: persistent connection with c++ J. T. Vermeulen <jtv@cistron-office.nl>
0 siblings, 1 reply; 2+ messages in thread
From: Shane Hansen @ 2001-04-26 17:13 UTC (permalink / raw)
To: pgsql-interfaces
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.
Thank you,
Shane
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: persistent connection with c++
2001-04-26 17:13 persistent connection with c++ Shane Hansen <sl1fm@cc.usu.edu>
@ 2001-04-27 16:47 ` J. T. Vermeulen <jtv@cistron-office.nl>
0 siblings, 0 replies; 2+ messages in thread
From: J. T. Vermeulen @ 2001-04-27 16:47 UTC (permalink / raw)
To: Shane Hansen <sl1fm@cc.usu.edu>; +Cc: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-04-27 16:47 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-04-26 17:13 persistent connection with c++ Shane Hansen <sl1fm@cc.usu.edu>
2001-04-27 16:47 ` J. T. Vermeulen <jtv@cistron-office.nl>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox