pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nicholson, Brad (Toronto, ON, CA) <bnicholson@hpe.com>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: 9.6 synchronous_standby_names: discrepancy between docs and functionality
Date: Thu, 14 Apr 2016 12:51:23 +0000
Message-ID: <CS1PR84MB021414A3311B147B55D9B62FD7970@CS1PR84MB0214.NAMPRD84.PROD.OUTLOOK.COM> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi Folks,

9.6 dev installed from RPM.  The version according to yum is:
Release     : git20160325_1PGDG.rhel7

The docs state the following as an example of synchronous_standby_names for multiple sync standby's
synchronous_standby_names = '2 (s1, s2, s3)'

When you try and use this example, it fails:

syncrep=# alter system set synchronous_standby_names='2 (s1, s2, s3)';
ERROR:  invalid value for parameter "synchronous_standby_names": "2 (s1, s2, s3)"
DETAIL:  List syntax is invalid.

If you remove the space from between the 2 & the ( it works:

syncrep=# alter system set synchronous_standby_names='2(s1, s2, s3)';
ALTER SYSTEM

Thanks,
Brad.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)  latest in thread

Message-ID: <CS1PR84MB021414A3311B147B55D9B62FD7970@CS1PR84MB0214.NAMPRD84.PROD.OUTLOOK.COM>
Permalink:  ../CS1PR84MB021414A3311B147B55D9B62FD7970@CS1PR84MB0214.NAMPRD84.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/CS1PR84MB021414A3311B147B55D9B62FD7970@CS1PR84MB0214.NAMPRD84.PROD.OUTLOOK.COM

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bnicholson@hpe.com
  Subject: Re: 9.6 synchronous_standby_names: discrepancy between docs and functionality
  In-Reply-To: <CS1PR84MB021414A3311B147B55D9B62FD7970@CS1PR84MB0214.NAMPRD84.PROD.OUTLOOK.COM>
  References: <CS1PR84MB021414A3311B147B55D9B62FD7970@CS1PR84MB0214.NAMPRD84.PROD.OUTLOOK.COM>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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