Re: New replication mode: write - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: New replication mode: write
Date
Msg-id CA+U5nMLstrWBY3AY+YkyRAwqdTpZfBaRnpS_mJRWufKSKpnesg@mail.gmail.com
Whole thread Raw
In response to Re: New replication mode: write  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: New replication mode: write  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Mon, Jan 16, 2012 at 12:45 PM, Fujii Masao <masao.fujii@gmail.com> wrote:

>>> Please add the Apply mode.
>>
>> OK, will do.
>
> Done. Attached is the updated version of the patch.

I notice that the Apply mode isn't fully implemented. I had in mind
that you would add the latch required to respond more quickly when
only the Apply pointer has changed.

Is there a reason not to use WaitLatchOrSocket() in WALReceiver? Or
was there another reason for not implementing that?

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-hackers by date:

Previous
From: Kohei KaiGai
Date:
Subject: Re: PG-Strom - A GPU optimized asynchronous executor module
Next
From: Benedikt Grundmann
Date:
Subject: Re: Vacuum rate limit in KBps