Marko Kreen wrote:
> On 2/25/08, Florian G. Pflug <fgp(at)phlo(dot)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
In response to
pgsql-hackers by date
|Next:||From: Kaare Rasmussen||Date: 2008-02-25 13:08:34|
|Subject: Questions about indexes with text_pattern_ops|
|Previous:||From: Marko Kreen||Date: 2008-02-25 10:35:09|
|Subject: Re: dblink doesn't honor interrupts while waiting a result|