| From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
|---|---|
| To: | "Nicholson, Brad (Toronto, ON, CA)" <bnicholson(at)hpe(dot)com> |
| Cc: | "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: 9.6 synchronous_standby_names: discrepancy between docs and functionality |
| Date: | 2016-04-14 14:22:06 |
| Message-ID: | CAB7nPqRTBGmVNM6EU_WnwKu3haNLCxd+35Dg9m2u_7Jf1ovnng@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
On Thu, Apr 14, 2016 at 9:51 PM, Nicholson, Brad (Toronto, ON, CA)
<bnicholson(at)hpe(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2016-04-14 14:26:37 | Re: BUG #14084: typo in LIMIT documentation |
| Previous Message | Zombade, Prashant | 2016-04-14 13:58:06 | PostgreSQL on Korean Windows Server 2008 R2 Standard |