9.6 synchronous_standby_names: discrepancy between docs and functionality

From: "Nicholson, Brad (Toronto, ON, CA)" <bnicholson(at)hpe(dot)com>
To: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: 9.6 synchronous_standby_names: discrepancy between docs and functionality
Date: 2016-04-14 12:51:23
Message-ID: CS1PR84MB021414A3311B147B55D9B62FD7970@CS1PR84MB0214.NAMPRD84.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 = '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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Zombade, Prashant 2016-04-14 13:58:06 PostgreSQL on Korean Windows Server 2008 R2 Standard
Previous Message Michael Paquier 2016-04-14 12:24:22 Re: help:how to rollback postgresql to several minutes ago