Re: Streaming Replication on win32
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Magnus Hagander <magnus@hagander.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-01-18T15:33:56Z
Lists: pgsql-hackers
Magnus Hagander wrote: > 2010/1/17 Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>: >> We could replace the blocking PQexec() calls with PQsendQuery(), and use >> the emulated version of select() to wait. > > Hmm. That would at least theoretically work, but aren't there still > places we may end up blocking further down? Or are those ok? There's also PQconnect that needs similar treatment (using PQconnectStart/Poll()), but that's it. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com