When to send the next asyncronous query
| От | HK |
|---|---|
| Тема | When to send the next asyncronous query |
| Дата | |
| Msg-id | Pine.LNX.4.33.0210041031590.8741-100000@daisy.midascomm.com обсуждение исходный текст |
| Ответ на | Re: Where does pgsql store the tables ?? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: When to send the next asyncronous query
|
| Список | 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@midascomm.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
В списке pgsql-novice по дате отправления: