Re: Add const qualifiers - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Add const qualifiers
Date
Msg-id 96cb71e3-13d3-543e-fe3d-9c7034fc6574@eisentraut.org
Whole thread Raw
In response to Re: Add const qualifiers  (David Steele <david@pgmasters.net>)
Responses Re: Add const qualifiers
List pgsql-hackers
On 09.09.23 21:03, David Steele wrote:
> On 9/1/23 11:39, David Steele wrote:
>> Hackers,
>>
>> I noticed that there was a mismatch between the const qualifiers for 
>> excludeDirContents in src/backend/backup/backup/basebackup.c and 
>> src/bin/pg_rewind/file_map.c and that led me to use ^static 
>> const.*\*.*= to do a quick search for similar cases.
>>
>> I think at the least we should make excludeDirContents match, but the 
>> rest of the changes seem like a good idea as well.
> 
> Added to 2023-11 CF.

committed




pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Avoid a possible out-of-bounds access (src/backend/optimizer/util/relnode.c)
Next
From: Ashutosh Bapat
Date:
Subject: Re: Avoid a possible out-of-bounds access (src/backend/optimizer/util/relnode.c)