Thomas Munro <thomas.munro@gmail.com> writes:
> On Fri, Feb 21, 2025 at 9:28 AM Andres Freund <andres@anarazel.de> wrote:
>> The patch curently uses a hardcoded 6 for the length of MAX_BACKENDS. Does
>> anybody have a good idea for how to either
>>
>> a) derive 6 from MAX_BACKENDS in a way that can be used in a C array size
This all seems quite over-the-top to me. Just allocate 10 characters,
which is certainly enough for the output of a %u format spec, and
call it good.
(Yeah, I know that's not as much fun, but ...)
regards, tom lane