async fast-path calls?

Поиск
Список
Период
Сортировка
От yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
Тема async fast-path calls?
Дата
Msg-id 20110113002145.51F8F19CEC5@mail.netbsd.org
обсуждение исходный текст
Ответы Re: async fast-path calls?  (yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi))
Список pgsql-novice
hi,

is there any easy way to issue large object operations like lo_write,
or more generally fast-path calls, asynchronously?  (async in the sense
of PQsendQuery so that i can poll to wait a result)

background: i want to use multiple connections to the server in a single
application for performance reasons.  the application is single-threaded.
(multi threading is not possible because i need to use a
pthread-incompatible library.)
using synchronous api when another asynchronous command is in-progress is
deadlock-prone as i can't receive the result of asynchronous one until
the synchronous one finishes.

YAMAMOTO Takashi

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

Предыдущее
От: yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi)
Дата:
Сообщение: Re: batching commands with libpq
Следующее
От: Tom Lane
Дата:
Сообщение: Re: batching commands with libpq