Re: When to send the next asyncronous query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: HK <harikrishnan(at)midascomm(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: When to send the next asyncronous query
Date: 2002-10-04 05:12:05
Message-ID: 17678.1033708325@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

HK <harikrishnan(at)midascomm(dot)com> writes:
> In asyncronous queries, after i send the first query, when should
> i send the next query.

After PQgetResult() returns NULL.

contrib/pgbench is an example of how to use this stuff. I'm afraid
there are no other examples in the standard PG distribution :-(

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message tkz 2002-10-04 11:14:33 Gottas in Upgrading to Red Hat 8.0
Previous Message HK 2002-10-04 05:04:17 When to send the next asyncronous query