From: | Boszormenyi Zoltan <zb(at)cybertec(dot)at> |
---|---|
To: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
Cc: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
Subject: | Re: libpq changes for synchronous replication |
Date: | 2010-09-21 08:21:50 |
Message-ID: | 4C986B1E.5020300@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Simon Riggs írta:
> On Fri, 2010-09-17 at 18:22 +0900, Fujii Masao wrote:
>
>> On Fri, Sep 17, 2010 at 5:09 PM, Heikki Linnakangas
>> <heikki(dot)linnakangas(at)enterprisedb(dot)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?
>
Somewhat. See my other mail to Tom.
Best regards,
Zoltán Böszörményi
--
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
http://www.postgresql.at/
From | Date | Subject | |
---|---|---|---|
Next Message | Markus Wanner | 2010-09-21 08:23:28 | Re: bg worker: general purpose requirements |
Previous Message | Boszormenyi Zoltan | 2010-09-21 08:21:00 | Re: libpq changes for synchronous replication |