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

From Marko Kreen
Subject Re: Streaming Replication on win32
Date
Msg-id e51f66da1001220228r415c435ayac8423ebcba4a8af@mail.gmail.com
Whole thread Raw
In response to Re: Streaming Replication on win32  (Dimitri Fontaine <dfontaine@hi-media.com>)
Responses Re: Streaming Replication on win32  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On 1/22/10, Dimitri Fontaine <dfontaine@hi-media.com> wrote:
> Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
>
>  > Joe Conway wrote:
>  >> OK, so now I see why we want this fixed for dblink and walreceiver, but
>  >> doesn't this approach leave every other WIN32 libpq client out in the
>  >> cold? Is there nothing that can be done for the general case, or is it a
>  >> SMOP?
>  >
>  > 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?

-- 
marko


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Streaming Replication on win32
Next
From: Simon Riggs
Date:
Subject: Access to dynamic SQL in PL/pgSQL