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

From Michael Paquier
Subject Re: 9.6 synchronous_standby_names: discrepancy between docs and functionality
Date
Msg-id CAB7nPqRTBGmVNM6EU_WnwKu3haNLCxd+35Dg9m2u_7Jf1ovnng@mail.gmail.com
Whole thread Raw
In response to 9.6 synchronous_standby_names: discrepancy between docs and functionality  ("Nicholson, Brad (Toronto, ON, CA)" <bnicholson@hpe.com>)
Responses Re: 9.6 synchronous_standby_names: discrepancy between docs and functionality
List pgsql-bugs
On Thu, Apr 14, 2016 at 9:51 PM, Nicholson, Brad (Toronto, ON, CA)
<bnicholson@hpe.com> wrote:
> 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

Both of them work for me (HEAD at 92a30a7):
=# alter system set synchronous_standby_names='2 (s1, s2, s3)';
ALTER SYSTEM
=# alter system set synchronous_standby_names='2(s1, s2, s3)';
ALTER SYSTEM
--
Michael

pgsql-bugs by date:

Previous
From: "Nicholson, Brad (Toronto, ON, CA)"
Date:
Subject: 9.6 synchronous_standby_names: discrepancy between docs and functionality
Next
From: Tom Lane
Date:
Subject: Re: BUG #14084: typo in LIMIT documentation