Re: Reorganize GUC structs

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Reorganize GUC structs
Дата
Msg-id f3e0f766-78bc-450f-8a96-42d2ac101bd4@eisentraut.org
обсуждение исходный текст
Ответ на Re: Reorganize GUC structs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 07.11.25 16:14, Tom Lane wrote:
> Peter Eisentraut <peter@eisentraut.org> writes:
>> Here are a few more small patches to fix related things I found
>> afterwards or in passing.
> 
> Looks sane, except that the comparator could do with an extra "const"
> if there's enough room on the line:
> 
> +    const struct config_generic *ca = *(const struct config_generic *const *) a;
> +    const struct config_generic *cb = *(const struct config_generic *const *) b;
> 
> Not essential, but casting const away even transiently looks ugly.

committed with that amendment




В списке pgsql-hackers по дате отправления: