Re: synchronous_commit and synchronous_replication Re: [COMMITTERS] pgsql: Efficient transaction-controlled synchronous replication.

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: synchronous_commit and synchronous_replication Re: [COMMITTERS] pgsql: Efficient transaction-controlled synchronous replication.
Date: 2011-04-05 01:09:20
Message-ID: BANLkTi=ANAbgvPK2sqO0srE5r0DTdSUJVw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 5, 2011 at 6:13 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> Committed with some additional hacking.  In particular, I believe that
>> your version made SYNCHRONOUS_COMMIT_LOCAL equivalent to
>> SYNCHRONOUS_COMMIT_OFF, which was wrong; and your replacement of
>> synchronous_replication by synchronous_commit in the docs was a bit
>> too formulaic; in particular, the section on setting up a basic sync
>> rep configuration said that all you needed to do was set
>> synchronous_commit=on, which clearly made no sense, since that was
>> neither necessary (since that's the default) nor sufficient (since you
>> have to set synchronous_standby_names).
>
> Err, woops.  Actually, I'm wrong about the first point: your coding
> worked, but I had to adjust it when I reordered the enum.  I think the
> new ordering is more logical

Yes. Thanks a lot!

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shigeru HANADA 2011-04-05 04:37:48 Re: Re: [COMMITTERS] pgsql: Support comments on FOREIGN DATA WRAPPER and SERVER objects.
Previous Message Dan Ports 2011-04-04 23:46:08 Re: time table for beta1