Re: Sync Rep v19
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Dimitri Fontaine <dimitri@2ndquadrant.fr>, Fujii Masao <masao.fujii@gmail.com>, pgsql-hackers@postgresql.org
Date: 2011-03-03T18:23:48Z
Lists: pgsql-hackers
On Thu, Mar 3, 2011 at 1:14 PM, Simon Riggs <simon@2ndquadrant.com> wrote: > On Thu, 2011-03-03 at 18:51 +0100, Dimitri Fontaine wrote: >> Simon Riggs <simon@2ndQuadrant.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