Re: Minor adjustment: Update the range of the commit_siblings parameter. - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Minor adjustment: Update the range of the commit_siblings parameter.
Date
Msg-id 5E21FEDA-4769-4595-BBA9-28830A131F97@yesql.se
Whole thread Raw
In response to Re: Minor adjustment: Update the range of the commit_siblings parameter.  (Chao Li <li.evan.chao@gmail.com>)
List pgsql-hackers
> On 10 Nov 2025, at 14:53, Chao Li <li.evan.chao@gmail.com> wrote:
>> On Nov 10, 2025, at 19:04, zengman <zengman@halodbtech.com> wrote:

>> When reviewing the postgresql.conf.sample file, I noticed that the range of the commit_siblings parameter appears to
havebeen incorrect for quite some time. Attached is a simple patch to update it. 
>
> Yes, the definition in guc_parameters.dat shows min as 0 and max as 1000, so the fix is correct:

Agreed, and MinimumActiveBackends() has a fast-path to handle a value of zero
as well (in all supported back-branches).

We are currently in release freeze for the backbranches, but will commit this
once the tree opens up again backpatched to all supported branches.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Ilia Evdokimov
Date:
Subject: Re: Use merge-based matching for MCVs in eqjoinsel
Next
From: Daniel Gustafsson
Date:
Subject: Re: [PATCH] Add hints for invalid binary encoding names in encode/decode functions