Re: pgsql: Add new replication mode synchronous_commit = 'write'. - Mailing list pgsql-committers

From Jaime Casanova
Subject Re: pgsql: Add new replication mode synchronous_commit = 'write'.
Date
Msg-id CAJKUy5iCx2vm5ogMEm5eGTHjb45q-gvaSf0n+-o2X39HanE37g@mail.gmail.com
Whole thread Raw
In response to pgsql: Add new replication mode synchronous_commit = 'write'.  (Simon Riggs <simon@2ndQuadrant.com>)
List 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

pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Add new replication mode synchronous_commit = 'write'.
Next
From: Bruce Momjian
Date:
Subject: pgsql: Fix new SQL tablespace location function usage in pg_upgrade to