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  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Garrett Bladow
Дата:
Сообщение: Re: inserting data that contains / or \
Следующее
От: Tom Lane
Дата:
Сообщение: Re: When to send the next asyncronous query