Re: Streaming Replication on win32 - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Streaming Replication on win32
Date
Msg-id 4B598D42.1050803@enterprisedb.com
Whole thread Raw
In response to Re: Streaming Replication on win32  (Marko Kreen <markokr@gmail.com>)
List pgsql-hackers
Marko Kreen wrote:
> On 1/22/10, Dimitri Fontaine <dfontaine@hi-media.com> wrote:
>> Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
>>  > The problem only applies to libpq calls from the backend. Client apps
>>  > are not affected, only backend modules. If there's any other modules out
>>  > there that use libpq, then yes, those have a problem too.
>>
>>
>> plproxy comes to mind.
> 
> Thats interesting.  PL/Proxy deos not use PQexec, it uses async
> execution and waits on sockets with plain select() called
> from code compiled with backend headers.
> 
> So it seems to be already using pgwin32_select().  Or not?

Yes. I just grepped plproxy source code and there's indeed no blocking
libpq calls there.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Access to dynamic SQL in PL/pgSQL
Next
From: Heikki Linnakangas
Date:
Subject: Re: Access to dynamic SQL in PL/pgSQL