Re: Remove trailing comma from enums - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Remove trailing comma from enums
Date
Msg-id CA+hUKGLQVaLUT69Ai6WOCZiU1r_DZjvYJyet2z36EHDqYocLfw@mail.gmail.com
Whole thread Raw
In response to Remove trailing comma from enums  (Peter Smith <smithpb2250@gmail.com>)
Responses Re: Remove trailing comma from enums
List pgsql-hackers
On Thu, Jan 6, 2022 at 12:56 PM Peter Smith <smithpb2250@gmail.com> wrote:
> I saw one (and then went looking and found some more) enum with a
> trailing comma.
>
> These are quite rare in the PG src, so I doubt they are intentional.
>
> PSA a patch to remove the trailing commas for all that I found.

-1.  I don't see the problem with C99 trailing commas.  They avoid
noisy diff lines when patches add/remove items.



pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: make tuplestore helper function
Next
From: Tom Lane
Date:
Subject: Re: Proposal: remove obsolete hot-standby testing infrastructure