BTW, the source tarball contains an example program that shows
how multiple "in flight" queries are simulated. It also contains a
multi-threaded example (where each thread waits on the connection
pool).
Cheers,
Iker
On Sun, 26 Jan 2003 00:47:20 -0500
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Iker Arizmendi <iker@research.att.com> writes:
> > A while back I suggested that it would be useful if asynchronous
> > connections could support multiple queries "in flight", especially
> > if you're working on event driven applications (see topic "rfc -
> > libpq extensions"). I've since started work on a simple library,
>
> I must be missing something fundamental here. The backend doesn't
> support multiple parallel queries, so how can you have "multiple
> queries in flight" on the same connection?
>
> regards, tom lane
--
Iker Arizmendi
AT&T Labs - Research
Speech and Image Processing Lab
e: iker@research.att.com
w: http://research.att.com
p: 973-360-8516