Re: When to send the next asyncronous query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: When to send the next asyncronous query
Дата
Msg-id 17678.1033708325@sss.pgh.pa.us
обсуждение исходный текст
Ответ на When to send the next asyncronous query  (HK <harikrishnan@midascomm.com>)
Список pgsql-novice
HK <harikrishnan@midascomm.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

В списке pgsql-novice по дате отправления:

Предыдущее
От: HK
Дата:
Сообщение: When to send the next asyncronous query
Следующее
От: "Cameron Moller"
Дата:
Сообщение: word / line wrap at the terminal