Re: dblink doesn't honor interrupts while waiting a result

Поиск
Список
Период
Сортировка
От Florian G. Pflug
Тема Re: dblink doesn't honor interrupts while waiting a result
Дата
Msg-id 47C29DFB.3050906@phlo.org
обсуждение исходный текст
Ответ на Re: dblink doesn't honor interrupts while waiting a result  ("Marko Kreen" <markokr@gmail.com>)
Список pgsql-hackers
Marko Kreen wrote:
> On 2/25/08, Florian G. Pflug <fgp@phlo.org> wrote:
>>  I'm not sure how a proper fix for this could look like, since the
>>  blocking actually happens inside libpq - but this certainly makes
>>  working with dblink painfull...
> 
> Proper fix would be to use async libpq API, then loop on poll(2)
> with small timeout.  You can look at pl/proxy for example code.
Ah, cool, I'll check out pl/proxy.

regards, Florian Pflug


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

Предыдущее
От: "Marko Kreen"
Дата:
Сообщение: Re: dblink doesn't honor interrupts while waiting a result
Следующее
От: "Kaare Rasmussen"
Дата:
Сообщение: Questions about indexes with text_pattern_ops