Re: BUG #6042: unlogged table with Streaming Replication

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
Cc: Tomonari Katsumata <katsumata(dot)tomonari(at)po(dot)ntts(dot)co(dot)jp>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6042: unlogged table with Streaming Replication
Date: 2011-06-01 18:34:45
Message-ID: BANLkTikJMDYacf84z6Zf4ZfftahPjRJdhQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, May 27, 2011 at 1:53 AM, Jaime Casanova <jaime(at)2ndquadrant(dot)com> wrote:
> btw, i guess we should be defaulting to asynchronous standbys (ie:
> synchronous_commit=local)

By default, synchronous_standby_names is empty, which makes
synchronous_commit=on equivalent to synchronous_commit=local. So I
think the current default is good, because it means you only need to
change ONE parameter to switch from async rep to sync rep (namely,
synchronous_standby_names).

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Cédric Villemain 2011-06-01 18:43:46 Re: Unlogged tables cannot be truncated twice
Previous Message Robert Haas 2011-06-01 18:32:39 Re: BUG #5984: Got FailedAssertion("!(opaque->btpo_prev == target)", File: "nbtpage.c", Line: 1166)