When to send the next asyncronous query

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

hi tom,
In asyncronous queries, after i send the first query, when should
i send the next query. Will adding the fd of postgrey to writefd in select
of c help.
Or how long do i need to wait before sending the next query.
Thanx in advance.

On Mon, 30 Sep 2002, Tom Lane wrote:

> HK <harikrishnan(at)midascomm(dot)com> writes:
> > 2) In asynchronous queries, can i dispense with pqflush().
>
> You don't need PQflush() unless you are using the nonblocking mode
> (which I don't really recommend, as it has too many restrictions and
> bugs^H^H^H^Hweird behaviors).
>
> regards, tom lane
>

--
regards,
hari

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2002-10-04 05:12:05 Re: When to send the next asyncronous query
Previous Message Vinni B 2002-10-03 22:05:49 help about service postgres