Re: BUG #18663: synchronous_standby_names vs synchronous_commit vs pg_stat_replication

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: asphator@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2025-01-09T00:35:39Z
Lists: pgsql-bugs

Attachments


On 2024/10/21 18:43, Fujii Masao wrote:
> 
> 
> On 2024/10/18 23:48, PG Bug reporting form wrote:
>> The following bug has been logged on the website:
>>
>> Bug reference:      18663
>> Logged by:          Asphator
>> Email address:      asphator@gmail.com
>> PostgreSQL version: 15.7
>> Operating system:   RHEL7+
>> Description:
>>
>> Hello
>>
>> I would like to raise 2 issues:
>> - documentation issue
>> - pg_stat_replication view issue in a very specific use case
>>
>> 1. Documentation
>> Regarding parameter synchronous_standby_names, I did not manage to find
>> anything in documentation preventing from setting value 0. The only thing
>> I've found is a comment in a commit of 2016. Would be nice to mention in
>> documentation that value must be a "positive" integer.
> 
> Agreed. I've attached the patch.

I made a slight wording adjustment.
Unless there are objections, I'll commit the attached patch.

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

Commits

  1. doc: Clarify synchronous_standby_names parameter.