9.6 synchronous_standby_names: discrepancy between docs and functionality - Mailing list pgsql-bugs

From Nicholson, Brad (Toronto, ON, CA)
Subject 9.6 synchronous_standby_names: discrepancy between docs and functionality
Date
Msg-id CS1PR84MB021414A3311B147B55D9B62FD7970@CS1PR84MB0214.NAMPRD84.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: 9.6 synchronous_standby_names: discrepancy between docs and functionality
List pgsql-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 =3D '2 (s1, s2, s3)'

When you try and use this example, it fails:

syncrep=3D# alter system set synchronous_standby_names=3D'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=3D# alter system set synchronous_standby_names=3D'2(s1, s2, s3)';
ALTER SYSTEM

Thanks,
Brad.

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: help:how to rollback postgresql to several minutes ago
Next
From: Michael Paquier
Date:
Subject: Re: 9.6 synchronous_standby_names: discrepancy between docs and functionality