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

From Fujii Masao
Subject Re: synchronous_commit and synchronous_replication Re: [COMMITTERS] pgsql: Efficient transaction-controlled synchronous replication.
Date
Msg-id BANLkTi=ANAbgvPK2sqO0srE5r0DTdSUJVw@mail.gmail.com
Whole thread Raw
In response to Re: synchronous_commit and synchronous_replication Re: [COMMITTERS] pgsql: Efficient transaction-controlled synchronous replication.  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, Apr 5, 2011 at 6:13 AM, Robert Haas <robertmhaas@gmail.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


pgsql-hackers by date:

Previous
From: Dan Ports
Date:
Subject: Re: time table for beta1
Next
From: Shigeru HANADA
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Support comments on FOREIGN DATA WRAPPER and SERVER objects.