pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Add new replication mode synchronous_commit = 'write'.
23+ messages / 9 participants
[nested] [flat]
* pgsql: Add new replication mode synchronous_commit = 'write'.
@ 2012-01-24 20:22 Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
0 siblings, 1 reply; 23+ messages in thread
From: Simon Riggs @ 2012-01-24 20:22 UTC (permalink / raw)
To: pgsql-committers
Add new replication mode synchronous_commit = 'write'.
Replication occurs only to memory on standby, not to disk,
so provides additional performance if user wishes to
reduce durability level slightly. Adds concept of multiple
independent sync rep queues.
Fujii Masao and Simon Riggs
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/443b4821f1649bc617c5ce1f6f3ffc65842a8930
Modified Files
--------------
doc/src/sgml/config.sgml | 18 +++-
doc/src/sgml/high-availability.sgml | 16 +++-
src/backend/replication/syncrep.c | 112 ++++++++++++++++++---------
src/backend/replication/walsender.c | 3 +-
src/backend/utils/misc/guc.c | 5 +-
src/include/access/xact.h | 1 +
src/include/replication/syncrep.h | 13 +++-
src/include/replication/walsender_private.h | 8 +-
8 files changed, 124 insertions(+), 52 deletions(-)
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
@ 2012-01-24 20:35 ` Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Jaime Casanova @ 2012-01-24 20:35 UTC (permalink / raw)
To: Simon Riggs <simon@2ndquadrant.com>; +Cc: pgsql-committers
On Tue, Jan 24, 2012 at 3:22 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> Add new replication mode synchronous_commit = 'write'.
> Replication occurs only to memory on standby, not to disk,
> so provides additional performance if user wishes to
> reduce durability level slightly. Adds concept of multiple
> independent sync rep queues.
>
> Fujii Masao and Simon Riggs
>
i guess, you should add the new value in postgresql.conf too.
just a question, why not add a flush value and make it behave like on?
actually sync rep is on in both cases and having the different names
makes more easy to unserstand what is happening.
i only want to keep on for compatibility but i wouldn't mind if we
remove it in favor of more descriptive names.
or there's any difference between on and flush that i'm failing to see?
--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
@ 2012-01-25 06:23 ` Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Fujii Masao @ 2012-01-25 06:23 UTC (permalink / raw)
To: Jaime Casanova <jaime@2ndquadrant.com>; +Cc: Simon Riggs <simon@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Wed, Jan 25, 2012 at 5:35 AM, Jaime Casanova <jaime@2ndquadrant.com> wrote:
> On Tue, Jan 24, 2012 at 3:22 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
>> Add new replication mode synchronous_commit = 'write'.
>> Replication occurs only to memory on standby, not to disk,
>> so provides additional performance if user wishes to
>> reduce durability level slightly. Adds concept of multiple
>> independent sync rep queues.
>>
>> Fujii Masao and Simon Riggs
>>
>
> i guess, you should add the new value in postgresql.conf too.
Yes, I forgot to do that. Patch attached.
> just a question, why not add a flush value and make it behave like on?
> actually sync rep is on in both cases and having the different names
> makes more easy to unserstand what is happening.
> i only want to keep on for compatibility but i wouldn't mind if we
> remove it in favor of more descriptive names.
Also we should add "async" as an alias for "off"?
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
Attachments:
noname (application/octet-stream, 686B) download
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
@ 2012-01-25 13:57 ` Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
0 siblings, 1 reply; 23+ messages in thread
From: Robert Haas @ 2012-01-25 13:57 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@gmail.com>; +Cc: Jaime Casanova <jaime@2ndquadrant.com>; Simon Riggs <simon@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Wed, Jan 25, 2012 at 1:23 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Wed, Jan 25, 2012 at 5:35 AM, Jaime Casanova <jaime@2ndquadrant.com> wrote:
>> On Tue, Jan 24, 2012 at 3:22 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
>>> Add new replication mode synchronous_commit = 'write'.
>>> Replication occurs only to memory on standby, not to disk,
>>> so provides additional performance if user wishes to
>>> reduce durability level slightly. Adds concept of multiple
>>> independent sync rep queues.
>>>
>>> Fujii Masao and Simon Riggs
>>>
>>
>> i guess, you should add the new value in postgresql.conf too.
>
> Yes, I forgot to do that. Patch attached.
I think that this would be a lot more clear if we described this as
synchronous_commit = remote_write rather than just synchronous_commit
= write. Actually, the internal constant is named that way already,
but it's not exposed as such to the user.
There's a logical hierarchy here:
fully async commit ("off") < local flush only ("local") < local flush
+ remote write (currently "write") < local flush + remote flush
(currently "on") < local flush + remote apply
All of the levels except for "off" involve waiting for local flush;
the higher levels also involve waiting for something on the remote
side. But the name of the variable is just synchronous_commit, so I
thik that if the word "remote" doesn't appear anywhere in the
user-visible parameter name, it's not as clear as it could be. In
addition to renaming "write" to "remote_write", I think we might also
want to add "remote_flush" as an alias for "on".
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
@ 2012-01-25 14:12 ` Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Simon Riggs @ 2012-01-25 14:12 UTC (permalink / raw)
To: Robert Haas <robertmhaas@gmail.com>; +Cc: Fujii Masao <masao.fujii@gmail.com>; Jaime Casanova <jaime@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Wed, Jan 25, 2012 at 1:57 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> I think that this would be a lot more clear if we described this as
> synchronous_commit = remote_write rather than just synchronous_commit
> = write. Actually, the internal constant is named that way already,
> but it's not exposed as such to the user.
That's something to discuss at the end of the CF when people are less
busy and we get more input.
It's an easy change whatever we decide to do.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
@ 2012-01-26 06:21 ` Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Fujii Masao @ 2012-01-26 06:21 UTC (permalink / raw)
To: Simon Riggs <simon@2ndquadrant.com>; +Cc: Robert Haas <robertmhaas@gmail.com>; Jaime Casanova <jaime@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Wed, Jan 25, 2012 at 11:12 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
> On Wed, Jan 25, 2012 at 1:57 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>
>> I think that this would be a lot more clear if we described this as
>> synchronous_commit = remote_write rather than just synchronous_commit
>> = write. Actually, the internal constant is named that way already,
>> but it's not exposed as such to the user.
>
> That's something to discuss at the end of the CF when people are less
> busy and we get more input.
>
> It's an easy change whatever we decide to do.
Added this to 9.2 Open Items.
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
@ 2012-04-13 17:15 ` Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Kevin Grittner <Kevin.Grittner@wicourts.gov>
0 siblings, 1 reply; 23+ messages in thread
From: Robert Haas @ 2012-04-13 17:15 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@gmail.com>; +Cc: Simon Riggs <simon@2ndquadrant.com>; Jaime Casanova <jaime@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Thu, Jan 26, 2012 at 1:21 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Wed, Jan 25, 2012 at 11:12 PM, Simon Riggs <simon@2ndquadrant.com> wrote:
>> On Wed, Jan 25, 2012 at 1:57 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>>
>>> I think that this would be a lot more clear if we described this as
>>> synchronous_commit = remote_write rather than just synchronous_commit
>>> = write. Actually, the internal constant is named that way already,
>>> but it's not exposed as such to the user.
>>
>> That's something to discuss at the end of the CF when people are less
>> busy and we get more input.
>>
>> It's an easy change whatever we decide to do.
>
> Added this to 9.2 Open Items.
OK, so I think it's time to decide what we want to do here. In my
view, remote_write seems a lot more clear than write (since someone
might otherwise think we were talking about a local write) and it has
the additional advantage of matching the internal naming convention -
surely, if it's write to call it SYNCHRONOUS_COMMIT_REMOTE_WRITE
inside the system, then there's not really much reason to drop the
word "remote" on the user-visible side of things. However, I just
work here. Does anyone want to make a counter-argument?
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
@ 2012-04-13 18:15 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-04-13 19:16 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
2012-04-13 19:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Guillaume Lelarge <guillaume@lelarge.info>
0 siblings, 2 replies; 23+ messages in thread
From: Kevin Grittner @ 2012-04-13 18:15 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@gmail.com>; Robert Haas <robertmhaas@gmail.com>; +Cc: Jaime Casanova <jaime@2ndquadrant.com>; Simon Riggs <simon@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
Robert Haas <robertmhaas@gmail.com> wrote:
> In my view, remote_write seems a lot more clear than write
+1
I sure didn't understand it to mean remote_write when I read the
subject line.
-Kevin
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Kevin Grittner <Kevin.Grittner@wicourts.gov>
@ 2012-04-13 19:16 ` Thom Brown <thom@linux.com>
2012-04-14 14:58 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
1 sibling, 1 reply; 23+ messages in thread
From: Thom Brown @ 2012-04-13 19:16 UTC (permalink / raw)
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>; +Cc: Fujii Masao <masao.fujii@gmail.com>; Robert Haas <robertmhaas@gmail.com>; Jaime Casanova <jaime@2ndquadrant.com>; Simon Riggs <simon@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On 13 April 2012 19:15, Kevin Grittner <Kevin.Grittner@wicourts.gov> wrote:
> Robert Haas <robertmhaas@gmail.com> wrote:
>
>> In my view, remote_write seems a lot more clear than write
>
> +1
>
> I sure didn't understand it to mean remote_write when I read the
> subject line.
Whatever this option value is named, it needs to be referenced in the
postgresql.conf comment for this option, as it isn't currently.
I have a question though. What happens when this is set to "write"
(or "remote_write" as proposed) but it's being used on a standalone
primary? At the moment it's not documented what level of guarantee
this would provide.
--
Thom
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-04-13 19:16 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
@ 2012-04-14 14:58 ` Fujii Masao <masao.fujii@gmail.com>
2012-04-14 15:13 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
0 siblings, 1 reply; 23+ messages in thread
From: Fujii Masao @ 2012-04-14 14:58 UTC (permalink / raw)
To: Thom Brown <thom@linux.com>; +Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>; Robert Haas <robertmhaas@gmail.com>; Jaime Casanova <jaime@2ndquadrant.com>; Simon Riggs <simon@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Sat, Apr 14, 2012 at 4:16 AM, Thom Brown <thom@linux.com> wrote:
> On 13 April 2012 19:15, Kevin Grittner <Kevin.Grittner@wicourts.gov> wrote:
>> Robert Haas <robertmhaas@gmail.com> wrote:
>>
>>> In my view, remote_write seems a lot more clear than write
>>
>> +1
>>
>> I sure didn't understand it to mean remote_write when I read the
>> subject line.
>
> Whatever this option value is named, it needs to be referenced in the
> postgresql.conf comment for this option, as it isn't currently.
Yes. The patch I've posted does this.
> I have a question though. What happens when this is set to "write"
> (or "remote_write" as proposed) but it's being used on a standalone
> primary? At the moment it's not documented what level of guarantee
> this would provide.
http://www.postgresql.org/docs/devel/static/warm-standby.html#SYNCHRONOUS-REPLICATION-HA
-----------------
Commits made when synchronous_commit is set to on or write will
wait until the synchronous standby responds. The response may
never occur if the last, or only, standby should crash.
-----------------
Is this description not enough? If not enough, how should we change
the document?
Regards,
--
Fujii Masao
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-04-13 19:16 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
2012-04-14 14:58 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
@ 2012-04-14 15:13 ` Thom Brown <thom@linux.com>
2012-04-16 16:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Thom Brown @ 2012-04-14 15:13 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@gmail.com>; +Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>; Robert Haas <robertmhaas@gmail.com>; Jaime Casanova <jaime@2ndquadrant.com>; Simon Riggs <simon@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On 14 April 2012 15:58, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Sat, Apr 14, 2012 at 4:16 AM, Thom Brown <thom@linux.com> wrote:
>> I have a question though. What happens when this is set to "write"
>> (or "remote_write" as proposed) but it's being used on a standalone
>> primary? At the moment it's not documented what level of guarantee
>> this would provide.
>
> http://www.postgresql.org/docs/devel/static/warm-standby.html#SYNCHRONOUS-REPLICATION-HA
> -----------------
> Commits made when synchronous_commit is set to on or write will
> wait until the synchronous standby responds. The response may
> never occur if the last, or only, standby should crash.
> -----------------
>
> Is this description not enough? If not enough, how should we change
> the document?
No, that's not what I was referring to. If you don't have a standby
(i.e. a single, isolated database cluster with no replication), and
its synchronous_commit is set to 'remote_write', what effect does that
have?
--
Thom
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-04-13 19:16 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
2012-04-14 14:58 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-14 15:13 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
@ 2012-04-16 16:21 ` Fujii Masao <masao.fujii@gmail.com>
2012-04-17 12:52 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
0 siblings, 1 reply; 23+ messages in thread
From: Fujii Masao @ 2012-04-16 16:21 UTC (permalink / raw)
To: Thom Brown <thom@linux.com>; +Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>; Robert Haas <robertmhaas@gmail.com>; Jaime Casanova <jaime@2ndquadrant.com>; Simon Riggs <simon@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Sun, Apr 15, 2012 at 12:13 AM, Thom Brown <thom@linux.com> wrote:
> On 14 April 2012 15:58, Fujii Masao <masao.fujii@gmail.com> wrote:
>> On Sat, Apr 14, 2012 at 4:16 AM, Thom Brown <thom@linux.com> wrote:
>>> I have a question though. What happens when this is set to "write"
>>> (or "remote_write" as proposed) but it's being used on a standalone
>>> primary? At the moment it's not documented what level of guarantee
>>> this would provide.
>>
>> http://www.postgresql.org/docs/devel/static/warm-standby.html#SYNCHRONOUS-REPLICATION-HA
>> -----------------
>> Commits made when synchronous_commit is set to on or write will
>> wait until the synchronous standby responds. The response may
>> never occur if the last, or only, standby should crash.
>> -----------------
>>
>> Is this description not enough? If not enough, how should we change
>> the document?
>
> No, that's not what I was referring to. If you don't have a standby
> (i.e. a single, isolated database cluster with no replication), and
> its synchronous_commit is set to 'remote_write', what effect does that
> have?
It's the same effect as 'on' and 'local' do, i.e., transaction commit waits
for only local WAL flush. This behavior is not documented explicitly...
How should we change the document? What about adding the following
into the explanation of synchronous_commit parameter (maybe the end
of second paragraph of that)?
-----------------
If synchronous_standby_names is not set, on, remote_write and local
provide the same synchronization level; transaction commit only waits for
local flush.
-----------------
Regards,
--
Fujii Masao
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-04-13 19:16 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
2012-04-14 14:58 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-14 15:13 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
2012-04-16 16:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
@ 2012-04-17 12:52 ` Thom Brown <thom@linux.com>
2012-04-17 19:29 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Thom Brown @ 2012-04-17 12:52 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@gmail.com>; +Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>; Robert Haas <robertmhaas@gmail.com>; Jaime Casanova <jaime@2ndquadrant.com>; Simon Riggs <simon@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On 16 April 2012 17:21, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Sun, Apr 15, 2012 at 12:13 AM, Thom Brown <thom@linux.com> wrote:
>> No, that's not what I was referring to. If you don't have a standby
>> (i.e. a single, isolated database cluster with no replication), and
>> its synchronous_commit is set to 'remote_write', what effect does that
>> have?
>
> It's the same effect as 'on' and 'local' do, i.e., transaction commit waits
> for only local WAL flush. This behavior is not documented explicitly...
> How should we change the document? What about adding the following
> into the explanation of synchronous_commit parameter (maybe the end
> of second paragraph of that)?
>
> -----------------
> If synchronous_standby_names is not set, on, remote_write and local
> provide the same synchronization level; transaction commit only waits for
> local flush.
> -----------------
Yes, that sounds fine.
--
Thom
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-04-13 19:16 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
2012-04-14 14:58 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-14 15:13 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
2012-04-16 16:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-17 12:52 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
@ 2012-04-17 19:29 ` Fujii Masao <masao.fujii@gmail.com>
2012-04-18 14:11 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Fujii Masao @ 2012-04-17 19:29 UTC (permalink / raw)
To: Thom Brown <thom@linux.com>; +Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>; Robert Haas <robertmhaas@gmail.com>; Jaime Casanova <jaime@2ndquadrant.com>; Simon Riggs <simon@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Tue, Apr 17, 2012 at 9:52 PM, Thom Brown <thom@linux.com> wrote:
> On 16 April 2012 17:21, Fujii Masao <masao.fujii@gmail.com> wrote:
>> On Sun, Apr 15, 2012 at 12:13 AM, Thom Brown <thom@linux.com> wrote:
>>> No, that's not what I was referring to. If you don't have a standby
>>> (i.e. a single, isolated database cluster with no replication), and
>>> its synchronous_commit is set to 'remote_write', what effect does that
>>> have?
>>
>> It's the same effect as 'on' and 'local' do, i.e., transaction commit waits
>> for only local WAL flush. This behavior is not documented explicitly...
>> How should we change the document? What about adding the following
>> into the explanation of synchronous_commit parameter (maybe the end
>> of second paragraph of that)?
>>
>> -----------------
>> If synchronous_standby_names is not set, on, remote_write and local
>> provide the same synchronization level; transaction commit only waits for
>> local flush.
>> -----------------
>
> Yes, that sounds fine.
Okay, patch attached.
Regards,
--
Fujii Masao
Attachments:
synchronous_commit_doc_v1.patch (application/octet-stream, 716B) download
*** a/doc/src/sgml/config.sgml
--- b/doc/src/sgml/config.sgml
***************
*** 1662,1667 **** SET ENABLE_SEQSCAN TO OFF;
--- 1662,1670 ----
to allow the transaction to commit asynchronously. However, the
special value <literal>local</> is available for transactions that
wish to wait for local flush to disk, but not synchronous replication.
+ If <varname>synchronous_standby_names</> is not set, <literal>on</>,
+ <literal>remote_write</> and <literal>local</> provide the same
+ synchronization level; transaction commit only waits for local flush.
</para>
<para>
This parameter can be changed at any time; the behavior for any
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-04-13 19:16 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
2012-04-14 14:58 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-14 15:13 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
2012-04-16 16:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-17 12:52 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Thom Brown <thom@linux.com>
2012-04-17 19:29 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
@ 2012-04-18 14:11 ` Robert Haas <robertmhaas@gmail.com>
0 siblings, 0 replies; 23+ messages in thread
From: Robert Haas @ 2012-04-18 14:11 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@gmail.com>; +Cc: Thom Brown <thom@linux.com>; Kevin Grittner <Kevin.Grittner@wicourts.gov>; Jaime Casanova <jaime@2ndquadrant.com>; Simon Riggs <simon@2ndquadrant.com>; PostgreSQL-development <pgsql-hackers@postgresql.org>
On Tue, Apr 17, 2012 at 3:29 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
> Okay, patch attached.
Committed.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Kevin Grittner <Kevin.Grittner@wicourts.gov>
@ 2012-04-13 19:57 ` Guillaume Lelarge <guillaume@lelarge.info>
2012-04-14 14:28 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
1 sibling, 1 reply; 23+ messages in thread
From: Guillaume Lelarge @ 2012-04-13 19:57 UTC (permalink / raw)
To: pgsql-hackers@postgresql.org
On 04/13/2012 08:15 PM, Kevin Grittner wrote:
> Robert Haas<robertmhaas@gmail.com> wrote:
>
>> In my view, remote_write seems a lot more clear than write
>
> +1
>
> I sure didn't understand it to mean remote_write when I read the
> subject line.
>
Neither did I. So definitely +1.
--
Guillaume
http://www.postgresql.fr
http://dalibo.com
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-04-13 19:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Guillaume Lelarge <guillaume@lelarge.info>
@ 2012-04-14 14:28 ` Fujii Masao <masao.fujii@gmail.com>
2012-04-14 14:58 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Fujii Masao @ 2012-04-14 14:28 UTC (permalink / raw)
To: Guillaume Lelarge <guillaume@lelarge.info>; +Cc: pgsql-hackers@postgresql.org
On Sat, Apr 14, 2012 at 4:57 AM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> On 04/13/2012 08:15 PM, Kevin Grittner wrote:
>>
>> Robert Haas<robertmhaas@gmail.com> wrote:
>>
>>> In my view, remote_write seems a lot more clear than write
>>
>>
>> +1
>>
>> I sure didn't understand it to mean remote_write when I read the
>> subject line.
>>
>
> Neither did I. So definitely +1.
+1
Patch attached.
Regards,
--
Fujii Masao
Attachments:
remote_write_v1.patch (application/octet-stream, 5.7K) download
*** a/doc/src/sgml/config.sgml
--- b/doc/src/sgml/config.sgml
***************
*** 1626,1632 **** SET ENABLE_SEQSCAN TO OFF;
<para>
Specifies whether transaction commit will wait for WAL records
to be written to disk before the command returns a <quote>success</>
! indication to the client. Valid values are <literal>on</>, <literal>write</>,
<literal>local</>, and <literal>off</>. The default, and safe, value
is <literal>on</>. When <literal>off</>, there can be a delay between
when success is reported to the client and when the transaction is
--- 1626,1632 ----
<para>
Specifies whether transaction commit will wait for WAL records
to be written to disk before the command returns a <quote>success</>
! indication to the client. Valid values are <literal>on</>, <literal>remote_write</>,
<literal>local</>, and <literal>off</>. The default, and safe, value
is <literal>on</>. When <literal>off</>, there can be a delay between
when success is reported to the client and when the transaction is
***************
*** 1646,1652 **** SET ENABLE_SEQSCAN TO OFF;
If <xref linkend="guc-synchronous-standby-names"> is set, this
parameter also controls whether or not transaction commit will wait
for the transaction's WAL records to be flushed to disk and replicated
! to the standby server. When <literal>write</>, the commit wait will
last until a reply from the current synchronous standby indicates
it has received the commit record of the transaction to memory.
Normally this causes no data loss at the time of failover. However,
--- 1646,1652 ----
If <xref linkend="guc-synchronous-standby-names"> is set, this
parameter also controls whether or not transaction commit will wait
for the transaction's WAL records to be flushed to disk and replicated
! to the standby server. When <literal>remote_write</>, the commit wait will
last until a reply from the current synchronous standby indicates
it has received the commit record of the transaction to memory.
Normally this causes no data loss at the time of failover. However,
*** a/doc/src/sgml/high-availability.sgml
--- b/doc/src/sgml/high-availability.sgml
***************
*** 1011,1017 **** primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
</para>
<para>
! Setting <varname>synchronous_commit</> to <literal>write</> will
cause each commit to wait for confirmation that the standby has received
the commit record to memory. This provides a lower level of durability
than <literal>on</> does. However, it's a practically useful setting
--- 1011,1017 ----
</para>
<para>
! Setting <varname>synchronous_commit</> to <literal>remote_write</> will
cause each commit to wait for confirmation that the standby has received
the commit record to memory. This provides a lower level of durability
than <literal>on</> does. However, it's a practically useful setting
***************
*** 1075,1081 **** primary_conninfo = 'host=192.168.1.50 port=5432 user=foo password=foopass'
<para>
Commits made when <varname>synchronous_commit</> is set to <literal>on</>
! or <literal>write</> will wait until the synchronous standby responds. The response
may never occur if the last, or only, standby should crash.
</para>
--- 1075,1081 ----
<para>
Commits made when <varname>synchronous_commit</> is set to <literal>on</>
! or <literal>remote_write</> will wait until the synchronous standby responds. The response
may never occur if the last, or only, standby should crash.
</para>
*** a/src/backend/utils/misc/guc.c
--- b/src/backend/utils/misc/guc.c
***************
*** 370,381 **** static const struct config_enum_entry constraint_exclusion_options[] = {
};
/*
! * Although only "on", "off", "write", and "local" are documented, we
* accept all the likely variants of "on" and "off".
*/
static const struct config_enum_entry synchronous_commit_options[] = {
{"local", SYNCHRONOUS_COMMIT_LOCAL_FLUSH, false},
! {"write", SYNCHRONOUS_COMMIT_REMOTE_WRITE, false},
{"on", SYNCHRONOUS_COMMIT_ON, false},
{"off", SYNCHRONOUS_COMMIT_OFF, false},
{"true", SYNCHRONOUS_COMMIT_ON, true},
--- 370,381 ----
};
/*
! * Although only "on", "off", "remote_write", and "local" are documented, we
* accept all the likely variants of "on" and "off".
*/
static const struct config_enum_entry synchronous_commit_options[] = {
{"local", SYNCHRONOUS_COMMIT_LOCAL_FLUSH, false},
! {"remote_write", SYNCHRONOUS_COMMIT_REMOTE_WRITE, false},
{"on", SYNCHRONOUS_COMMIT_ON, false},
{"off", SYNCHRONOUS_COMMIT_OFF, false},
{"true", SYNCHRONOUS_COMMIT_ON, true},
*** a/src/backend/utils/misc/postgresql.conf.sample
--- b/src/backend/utils/misc/postgresql.conf.sample
***************
*** 162,168 ****
#wal_level = minimal # minimal, archive, or hot_standby
# (change requires restart)
#fsync = on # turns forced synchronization on or off
! #synchronous_commit = on # synchronization level; on, off, or local
#wal_sync_method = fsync # the default is the first option
# supported by the operating system:
# open_datasync
--- 162,169 ----
#wal_level = minimal # minimal, archive, or hot_standby
# (change requires restart)
#fsync = on # turns forced synchronization on or off
! #synchronous_commit = on # synchronization level;
! # off, local, remote_write, or on
#wal_sync_method = fsync # the default is the first option
# supported by the operating system:
# open_datasync
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'.
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Re: pgsql: Add new replication mode synchronous_commit = 'write'. Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-04-13 19:57 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Guillaume Lelarge <guillaume@lelarge.info>
2012-04-14 14:28 ` Re: [COMMITTERS] pgsql: Add new replication mode synchronous_commit = 'write'. Fujii Masao <masao.fujii@gmail.com>
@ 2012-04-14 14:58 ` Robert Haas <robertmhaas@gmail.com>
0 siblings, 0 replies; 23+ messages in thread
From: Robert Haas @ 2012-04-14 14:58 UTC (permalink / raw)
To: Fujii Masao <masao.fujii@gmail.com>; +Cc: Guillaume Lelarge <guillaume@lelarge.info>; pgsql-hackers@postgresql.org
On Sat, Apr 14, 2012 at 10:28 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Sat, Apr 14, 2012 at 4:57 AM, Guillaume Lelarge
> <guillaume@lelarge.info> wrote:
>> On 04/13/2012 08:15 PM, Kevin Grittner wrote:
>>> Robert Haas<robertmhaas@gmail.com> wrote:
>>>> In my view, remote_write seems a lot more clear than write
>>>
>>> +1
>>>
>>> I sure didn't understand it to mean remote_write when I read the
>>> subject line.
>>
>> Neither did I. So definitely +1.
>
> +1
>
> Patch attached.
Thanks. Committed.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
^ permalink raw reply [nested|flat] 23+ messages in thread
* pgsql: Add new replication mode synchronous_commit = 'remote_apply'.
@ 2016-03-30 01:31 Robert Haas <rhaas@postgresql.org>
2016-03-30 01:37 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Robert Haas @ 2016-03-30 01:31 UTC (permalink / raw)
To: pgsql-committers
Add new replication mode synchronous_commit = 'remote_apply'.
In this mode, the master waits for the transaction to be applied on
the remote side, not just written to disk. That means that you can
count on a transaction started on the standby to see all commits
previously acknowledged by the master.
To make this work, the standby sends a reply after replaying each
commit record generated with synchronous_commit >= 'remote_apply'.
This introduces a small inefficiency: the extra replies will be sent
even by standbys that aren't the current synchronous standby. But
previously-existing synchronous_commit levels make no attempt at all
to optimize which replies are sent based on what the primary cares
about, so this is no worse, and at least avoids any extra replies for
people not using the feature at all.
Thomas Munro, reviewed by Michael Paquier and by me. Some additional
tweaks by me.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/314cbfc5da988eff8998655158f84c9815ecfbcd
Modified Files
--------------
doc/src/sgml/config.sgml | 14 ++--
doc/src/sgml/high-availability.sgml | 18 ++++-
src/backend/access/transam/twophase.c | 6 +-
src/backend/access/transam/xact.c | 16 +++-
src/backend/access/transam/xlog.c | 23 ++++++
src/backend/replication/README | 18 +++--
.../libpqwalreceiver/libpqwalreceiver.c | 26 +++----
src/backend/replication/syncrep.c | 35 +++++++--
src/backend/replication/walreceiver.c | 85 ++++++++++++++++++----
src/backend/utils/misc/guc.c | 5 +-
src/backend/utils/misc/postgresql.conf.sample | 2 +-
src/include/access/xact.h | 7 +-
src/include/access/xlog.h | 2 +
src/include/access/xlog_internal.h | 2 +-
src/include/replication/syncrep.h | 5 +-
src/include/replication/walreceiver.h | 12 ++-
16 files changed, 209 insertions(+), 67 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'.
2016-03-30 01:31 pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Robert Haas <rhaas@postgresql.org>
@ 2016-03-30 01:37 ` Michael Paquier <michael.paquier@gmail.com>
2016-03-30 01:39 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Michael Paquier @ 2016-03-30 01:37 UTC (permalink / raw)
To: Robert Haas <rhaas@postgresql.org>; +Cc: pgsql-committers
On Wed, Mar 30, 2016 at 10:31 AM, Robert Haas <rhaas@postgresql.org> wrote:
> Add new replication mode synchronous_commit = 'remote_apply'.
>
> In this mode, the master waits for the transaction to be applied on
> the remote side, not just written to disk. That means that you can
> count on a transaction started on the standby to see all commits
> previously acknowledged by the master.
>
> To make this work, the standby sends a reply after replaying each
> commit record generated with synchronous_commit >= 'remote_apply'.
> This introduces a small inefficiency: the extra replies will be sent
> even by standbys that aren't the current synchronous standby. But
> previously-existing synchronous_commit levels make no attempt at all
> to optimize which replies are sent based on what the primary cares
> about, so this is no worse, and at least avoids any extra replies for
> people not using the feature at all.
>
> Thomas Munro, reviewed by Michael Paquier and by me. Some additional
> tweaks by me.
The commit message does not directly mention that the spec of
walrcv_receive has been changed in a backward-incompatible way so as
the wait control can be done with a latch directly in walreceiver.c
and not in libpqwalreceiver.c. That's not worth a mention in the
release notes as this is really low-level and compilation on any code
using this hook would simply fail on 9.6, so I am just mentioning it
for the sake of the archives.
--
Michael
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'.
2016-03-30 01:31 pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Robert Haas <rhaas@postgresql.org>
2016-03-30 01:37 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Michael Paquier <michael.paquier@gmail.com>
@ 2016-03-30 01:39 ` Robert Haas <robertmhaas@gmail.com>
2016-03-30 01:43 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Robert Haas @ 2016-03-30 01:39 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; +Cc: pgsql-committers
On Tue, Mar 29, 2016 at 9:37 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Wed, Mar 30, 2016 at 10:31 AM, Robert Haas <rhaas@postgresql.org> wrote:
>> Add new replication mode synchronous_commit = 'remote_apply'.
>>
>> In this mode, the master waits for the transaction to be applied on
>> the remote side, not just written to disk. That means that you can
>> count on a transaction started on the standby to see all commits
>> previously acknowledged by the master.
>>
>> To make this work, the standby sends a reply after replaying each
>> commit record generated with synchronous_commit >= 'remote_apply'.
>> This introduces a small inefficiency: the extra replies will be sent
>> even by standbys that aren't the current synchronous standby. But
>> previously-existing synchronous_commit levels make no attempt at all
>> to optimize which replies are sent based on what the primary cares
>> about, so this is no worse, and at least avoids any extra replies for
>> people not using the feature at all.
>>
>> Thomas Munro, reviewed by Michael Paquier and by me. Some additional
>> tweaks by me.
>
> The commit message does not directly mention that the spec of
> walrcv_receive has been changed in a backward-incompatible way so as
> the wait control can be done with a latch directly in walreceiver.c
> and not in libpqwalreceiver.c. That's not worth a mention in the
> release notes as this is really low-level and compilation on any code
> using this hook would simply fail on 9.6, so I am just mentioning it
> for the sake of the archives.
Yeah, I didn't really think that mattered much. I'm not really sure
what you even mean by backward-incompatible -- AFAIK, that's a private
interface which we can whack around whenever we like.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'.
2016-03-30 01:31 pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Robert Haas <rhaas@postgresql.org>
2016-03-30 01:37 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Michael Paquier <michael.paquier@gmail.com>
2016-03-30 01:39 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Robert Haas <robertmhaas@gmail.com>
@ 2016-03-30 01:43 ` Michael Paquier <michael.paquier@gmail.com>
2016-03-30 01:49 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Robert Haas <robertmhaas@gmail.com>
0 siblings, 1 reply; 23+ messages in thread
From: Michael Paquier @ 2016-03-30 01:43 UTC (permalink / raw)
To: Robert Haas <robertmhaas@gmail.com>; +Cc: pgsql-committers
On Wed, Mar 30, 2016 at 10:39 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Tue, Mar 29, 2016 at 9:37 PM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> On Wed, Mar 30, 2016 at 10:31 AM, Robert Haas <rhaas@postgresql.org> wrote:
>>> Add new replication mode synchronous_commit = 'remote_apply'.
>>>
>>> In this mode, the master waits for the transaction to be applied on
>>> the remote side, not just written to disk. That means that you can
>>> count on a transaction started on the standby to see all commits
>>> previously acknowledged by the master.
>>>
>>> To make this work, the standby sends a reply after replaying each
>>> commit record generated with synchronous_commit >= 'remote_apply'.
>>> This introduces a small inefficiency: the extra replies will be sent
>>> even by standbys that aren't the current synchronous standby. But
>>> previously-existing synchronous_commit levels make no attempt at all
>>> to optimize which replies are sent based on what the primary cares
>>> about, so this is no worse, and at least avoids any extra replies for
>>> people not using the feature at all.
>>>
>>> Thomas Munro, reviewed by Michael Paquier and by me. Some additional
>>> tweaks by me.
>>
>> The commit message does not directly mention that the spec of
>> walrcv_receive has been changed in a backward-incompatible way so as
>> the wait control can be done with a latch directly in walreceiver.c
>> and not in libpqwalreceiver.c. That's not worth a mention in the
>> release notes as this is really low-level and compilation on any code
>> using this hook would simply fail on 9.6, so I am just mentioning it
>> for the sake of the archives.
>
> Yeah, I didn't really think that mattered much. I'm not really sure
> what you even mean by backward-incompatible -- AFAIK, that's a private
> interface which we can whack around whenever we like.
By "Backward-incompatible", I mean that any custom library using this
walrcv hook is not going to compile anymore and we don't provide a
pre-9.5 equivalent. I don't think that's worth worrying though, I have
yet to see this interface being used for something else than
libpqwalreceiver to be honest.
--
Michael
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 23+ messages in thread
* Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'.
2016-03-30 01:31 pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Robert Haas <rhaas@postgresql.org>
2016-03-30 01:37 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Michael Paquier <michael.paquier@gmail.com>
2016-03-30 01:39 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Robert Haas <robertmhaas@gmail.com>
2016-03-30 01:43 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Michael Paquier <michael.paquier@gmail.com>
@ 2016-03-30 01:49 ` Robert Haas <robertmhaas@gmail.com>
0 siblings, 0 replies; 23+ messages in thread
From: Robert Haas @ 2016-03-30 01:49 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; +Cc: pgsql-committers
On Tue, Mar 29, 2016 at 9:43 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Wed, Mar 30, 2016 at 10:39 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> On Tue, Mar 29, 2016 at 9:37 PM, Michael Paquier
>> <michael.paquier@gmail.com> wrote:
>>> On Wed, Mar 30, 2016 at 10:31 AM, Robert Haas <rhaas@postgresql.org> wrote:
>>>> Add new replication mode synchronous_commit = 'remote_apply'.
>>>>
>>>> In this mode, the master waits for the transaction to be applied on
>>>> the remote side, not just written to disk. That means that you can
>>>> count on a transaction started on the standby to see all commits
>>>> previously acknowledged by the master.
>>>>
>>>> To make this work, the standby sends a reply after replaying each
>>>> commit record generated with synchronous_commit >= 'remote_apply'.
>>>> This introduces a small inefficiency: the extra replies will be sent
>>>> even by standbys that aren't the current synchronous standby. But
>>>> previously-existing synchronous_commit levels make no attempt at all
>>>> to optimize which replies are sent based on what the primary cares
>>>> about, so this is no worse, and at least avoids any extra replies for
>>>> people not using the feature at all.
>>>>
>>>> Thomas Munro, reviewed by Michael Paquier and by me. Some additional
>>>> tweaks by me.
>>>
>>> The commit message does not directly mention that the spec of
>>> walrcv_receive has been changed in a backward-incompatible way so as
>>> the wait control can be done with a latch directly in walreceiver.c
>>> and not in libpqwalreceiver.c. That's not worth a mention in the
>>> release notes as this is really low-level and compilation on any code
>>> using this hook would simply fail on 9.6, so I am just mentioning it
>>> for the sake of the archives.
>>
>> Yeah, I didn't really think that mattered much. I'm not really sure
>> what you even mean by backward-incompatible -- AFAIK, that's a private
>> interface which we can whack around whenever we like.
>
> By "Backward-incompatible", I mean that any custom library using this
> walrcv hook is not going to compile anymore and we don't provide a
> pre-9.5 equivalent. I don't think that's worth worrying though, I have
> yet to see this interface being used for something else than
> libpqwalreceiver to be honest.
Yeah, I'd be very surprised if anyone did that.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 23+ messages in thread
end of thread, other threads:[~2016-03-30 01:49 UTC | newest]
Thread overview: 23+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-01-24 20:22 pgsql: Add new replication mode synchronous_commit = 'write'. Simon Riggs <simon@2ndQuadrant.com>
2012-01-24 20:35 ` Jaime Casanova <jaime@2ndquadrant.com>
2012-01-25 06:23 ` Fujii Masao <masao.fujii@gmail.com>
2012-01-25 13:57 ` Robert Haas <robertmhaas@gmail.com>
2012-01-25 14:12 ` Simon Riggs <simon@2ndQuadrant.com>
2012-01-26 06:21 ` Fujii Masao <masao.fujii@gmail.com>
2012-04-13 17:15 ` Robert Haas <robertmhaas@gmail.com>
2012-04-13 18:15 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-04-13 19:16 ` Thom Brown <thom@linux.com>
2012-04-14 14:58 ` Fujii Masao <masao.fujii@gmail.com>
2012-04-14 15:13 ` Thom Brown <thom@linux.com>
2012-04-16 16:21 ` Fujii Masao <masao.fujii@gmail.com>
2012-04-17 12:52 ` Thom Brown <thom@linux.com>
2012-04-17 19:29 ` Fujii Masao <masao.fujii@gmail.com>
2012-04-18 14:11 ` Robert Haas <robertmhaas@gmail.com>
2012-04-13 19:57 ` Guillaume Lelarge <guillaume@lelarge.info>
2012-04-14 14:28 ` Fujii Masao <masao.fujii@gmail.com>
2012-04-14 14:58 ` Robert Haas <robertmhaas@gmail.com>
2016-03-30 01:31 pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Robert Haas <rhaas@postgresql.org>
2016-03-30 01:37 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Michael Paquier <michael.paquier@gmail.com>
2016-03-30 01:39 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Robert Haas <robertmhaas@gmail.com>
2016-03-30 01:43 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Michael Paquier <michael.paquier@gmail.com>
2016-03-30 01:49 ` Re: pgsql: Add new replication mode synchronous_commit = 'remote_apply'. Robert Haas <robertmhaas@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox