Re: More const-marking cleanup - Mailing list pgsql-hackers

From Tom Lane
Subject Re: More const-marking cleanup
Date
Msg-id 1559237.1764951650@sss.pgh.pa.us
Whole thread Raw
In response to Re: More const-marking cleanup  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Responses Re: More const-marking cleanup
List pgsql-hackers
Bertrand Drouvot <bertranddrouvot.pg@gmail.com> writes:
> On Fri, Dec 05, 2025 at 09:47:56AM -0500, Tom Lane wrote:
>> Cool, how'd you find these?

> With the help of a coccinelle script. Will polish and share.

Ah.  Your script didn't notice the need for const'ification of
additional variables in map_locale() :-(.  I fixed that and
pushed everything except the ecpg/preproc/variable.c changes,
which I'm not too comfortable about yet.  (The code coverage
report shows that large chunks of those functions are untested,
so I wonder if they worked before let alone after.)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Sami Imseih
Date:
Subject: Re: Add wait event for CommitDelay
Next
From: Maxim Orlov
Date:
Subject: Re: IPC/MultixactCreation on the Standby server