Skip site navigation (1) Skip section navigation (2)

Re: Streaming Replication on win32

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Streaming Replication on win32
Date: 2010-01-18 15:33:56
Message-ID: 4B547F64.2080508@enterprisedb.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Magnus Hagander wrote:
> 2010/1/17 Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Alvaro HerreraDate: 2010-01-18 15:40:35
Subject: Re: Build farm tweaks
Previous:From: Tom LaneDate: 2010-01-18 15:24:18
Subject: Re: Hot Standby and handling max_standby_delay

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group