Re: Sync Rep v19

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Sync Rep v19
Date: 2011-03-03 18:23:48
Message-ID: AANLkTim+UCAS_cyGT_0SFhcGS61cAM3BcvroOR8t8WfM@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 3, 2011 at 1:14 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> On Thu, 2011-03-03 at 18:51 +0100, Dimitri Fontaine wrote:
>> Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
>> > On Fri, 2011-03-04 at 00:02 +0900, Fujii Masao wrote:
>> >> > * synchronous_standby_names = "*" matches all standby names
>> >>
>> >> Using '*' as the default seems to lead the performance degradation by
>> >> being connected from unexpected synchronous standby.
>> >
>> > You can configure it however you wish. It seemed better to have an out
>> > of the box setting that was useful.
>>
>> Well the HBA still needs some opening before anyone can claim to be a
>> standby.  I guess the default line would be commented out and no standby
>> would be accepted as synchronous by default, assuming this GUC is sighup.
>
> The patch sets "*" as the default, so all standbys are synchronous by
> default.
>
> Would you prefer it if it was blank, meaning no standbys are
> synchronous, by default?

I think * is a reasonable default.

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2011-03-03 18:30:59 Re: Quick Extensions Question
Previous Message Robert Haas 2011-03-03 18:22:17 Re: Quick Extensions Question