Re: Reorganize GUC structs - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Reorganize GUC structs
Date
Msg-id f3e0f766-78bc-450f-8a96-42d2ac101bd4@eisentraut.org
Whole thread Raw
In response to Re: Reorganize GUC structs  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Richard Guo
Date:
Subject: Use exact nullingrels matches for NestLoopParams
Next
From: Michael Paquier
Date:
Subject: Re: Extended Statistics set/restore/clear functions.