Re: [PATCH] Provide support for trailing commas

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Provide support for trailing commas
Date: 2026-01-08 04:44:29
Message-ID: aV82LTMd1I3GOdiX@momjian.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 6, 2026 at 03:35:38PM -0500, Greg Sabino Mullane wrote:
> tl;dr Provide support for trailing commas, where possible and practical.
>
> (Disclaimer: No LLM or AI was used to craft this patch or this email)
>
> Happy New Year! Please find attached a patch to provide comprehensive trailing
> comma support, where we allow (when possible) a comma that does NOT come before
> the next item in a list. To wit:

I am unclear why you bothered to create and work on such a large email
and patch rather than ask if this was a desired change; see:

https://wiki.postgresql.org/wiki/Todo#Development_Process

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Do not let urgent matters crowd out time for investment in the future.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Xuneng Zhou 2026-01-08 04:48:58 Re: Optimize SnapBuildPurgeOlderTxn to purge committed xids in-place
Previous Message Peter Smith 2026-01-08 04:20:51 Re: Skipping schema changes in publication