Re: More const-marking cleanup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: More const-marking cleanup
Дата
Msg-id 1559237.1764951650@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: More const-marking cleanup  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Ответы Re: More const-marking cleanup
Список 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 по дате отправления: