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

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: dblink doesn't honor interrupts while waiting a result
Дата
Msg-id e51f66da0802250235v14594c77k9515d7114c9443f5@mail.gmail.com
обсуждение исходный текст
Ответ на dblink doesn't honor interrupts while waiting a result  ("Florian G. Pflug" <fgp@phlo.org>)
Ответы Re: dblink doesn't honor interrupts while waiting a result
Список pgsql-hackers
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.

-- 
marko


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

Предыдущее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: OSSP can be used in the windows environment now!
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: dblink doesn't honor interrupts while waiting a result