Hi,
On 1/6/23 12:21 AM, Andres Freund wrote:
> Hi,
>
> On 2023-01-05 15:19:54 -0500, Corey Huinker wrote:
>> It does get me wondering, however, if we reordered the three typedefs to
>> group like-typed registers together, we could make them an array with the
>> names becoming defined constant index values (or keeping them via a union),
>> then the typedefs effectively become:
>
> I think that'd make it substantially enough harder to work with the
> datastructures that I don't want to go there.
>
Yeah, I think that's a good idea from a "coding style" point of view but harder to work with.
Regards,
--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com