Remove trailing comma from enums

From: Peter Smith <smithpb2250(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Remove trailing comma from enums
Date: 2022-01-05 23:56:33
Message-ID: CAHut+Psqr93nng7diTXxtUD636u7ytA=Mq2duRphs0CBzpfDTA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

------
Kind Regards,
Peter Smith.
Fujitsu Australia

Attachment Content-Type Size
v1-0001-Remove-trailing-commas-from-enums.patch application/octet-stream 4.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2022-01-06 00:02:16 Re: Add 64-bit XIDs into PostgreSQL 15
Previous Message Justin Pryzby 2022-01-05 23:55:17 Re: GUC flags