Re: Remove trailing comma from enums

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Remove trailing comma from enums
Дата
Msg-id CA+hUKGLQVaLUT69Ai6WOCZiU1r_DZjvYJyet2z36EHDqYocLfw@mail.gmail.com
обсуждение исходный текст
Ответ на Remove trailing comma from enums  (Peter Smith <smithpb2250@gmail.com>)
Ответы Re: Remove trailing comma from enums  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: make tuplestore helper function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Proposal: remove obsolete hot-standby testing infrastructure