public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: Greg Sabino Mullane <[email protected]>
Cc: [email protected] <[email protected]>
Cc: Tom Lane <[email protected]>
Subject: Re: [PATCH] Provide support for trailing commas
Date: Tue, 17 Feb 2026 09:30:02 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAKAnmmK+1Rxv3FSKCku=ePNcwkcd6fqZ5C=y7_3wjyd4+BbwhQ@mail.gmail.com>
References: <CAKAnmmKVwP=yr8t8p8_QtrBFjyENLZyPxscJh4UrkCeqMQuhrw@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<CAKAnmmK+1Rxv3FSKCku=ePNcwkcd6fqZ5C=y7_3wjyd4+BbwhQ@mail.gmail.com>

On 03.02.26 18:28, Greg Sabino Mullane wrote:
> Having reread this thread, I'm not sure where we are at the moment. I'm 
> happy to support a subset of things for the first run, and I think that 
> will cover 99% of the use cases that people tend to complain about. So a 
> small hit for consistency, but an added bonus of a little protection 
> should the committee do something crazy.

I think there is consensus for allowing a trailing comma in the SELECT 
list.  This would be the target_list production in gram.y.

Looking into your patch, it looks pretty much like how I would have 
implemented it, so if you could cut down your patch to just this 
production, and add a small amount of documentation and tests, then I 
think we could move forward with it.







view thread (17+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: [PATCH] Provide support for trailing commas
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox