Re: libpq changes for synchronous replication - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: libpq changes for synchronous replication
Date
Msg-id 1285000014.1733.5757.camel@ebony
Whole thread Raw
In response to libpq changes for synchronous replication  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: libpq changes for synchronous replication  (Boszormenyi Zoltan <zb@cybertec.at>)
List pgsql-hackers
On Fri, 2010-09-17 at 18:22 +0900, Fujii Masao wrote:
> On Fri, Sep 17, 2010 at 5:09 PM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com> wrote:
> > That said, there's a few small things that can be progressed regardless of
> > the details of synchronous replication. There's the changes to trigger
> > failover with a signal, and it seems that we'll need some libpq changes to
> > allow acknowledgments to be sent back to the master regardless of the rest
> > of the design. We can discuss those in separate threads in parallel.
> 
> Agreed. The attached patch introduces new function which is used
> to send ACK back from walreceiver. The function sends a message
> to XLOG stream by calling PQputCopyData. Also I allowed PQputCopyData
> to be called even during COPY OUT.

Does this differ from Zoltan's code?

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Development, 24x7 Support, Training and Services



pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Do we need a ShmList implementation?
Next
From: Heikki Linnakangas
Date:
Subject: Re: Do we need a ShmList implementation?