Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vds70-005yuM-1h for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Jan 2026 15:39:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vds6x-002k8W-2c for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Jan 2026 15:39:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vds6x-002k8O-1b for pgsql-hackers@lists.postgresql.org; Thu, 08 Jan 2026 15:39:44 +0000 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vds6w-004uOT-23 for pgsql-hackers@lists.postgresql.org; Thu, 08 Jan 2026 15:39:43 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id AE429140006B; Thu, 8 Jan 2026 10:39:41 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Thu, 08 Jan 2026 10:39:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1767886781; x=1767973181; bh=8B4/FsILky fvDsUIUSytVJu9BLl6TZE2RRsc57HT5Ac=; b=IxMoRTeBQmlLT+ApCDqOsXrAuT OmgVL9O9y02n6qaSnyK/xCIY5aRng2aolLxumOlQ+E6hcU3sdgPs5QP4OQ79R1Na 4uP/ngoGNUuhQM8P59WiFXjPNfP4oid/Mun61Ilv4oMG+XSIOY5t7gMVen3d8TQr a3poQZEFMEDz1KUAlbcvfP2T0UiduurIlL8PMNLqqeAs7B+twDbvJSiN9qd7JS36 IM74XJRHDOxwn85Da1BQ8Li+t71zpgH7a8xBAfZbaiKPCiG9/XM1dFf6YVd2LHo8 fYKfKGzeIlTKE/ukRxjXc3i+VwR0FI8X20Kjd9SPTgJgvuA/2H666QkrdKuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1767886781; x=1767973181; bh=8B4/FsILkyfvDsUIUSytVJu9BLl6TZE2RRs c57HT5Ac=; b=ccQAQH5dESGVY9a8nTw3UuRSCMgCG+Pgblt6MXZfQpQ8nXAW4Ec Ni4POZFeWXAlEPaJ1dBj2j/sSaq3/WM9CncBAADjr3F8KckUKDmNkzD6+MUpKELj ObJDkxuLV9GpIuqovEN7zV7uoACS4v+U+kzvSg2H7Z3YNMX5lymAK4sa13cmrmhS YpEPAZdzGHZbZD0nknJCoTr9JcjBMU+Rk+yYBYWyN2EKaO8L5nXPXE54N6zCJ5oc AomNk8nWWKVLeEzUqp3enHkdp/PEbQZAib/loqX+wzISmjoneVGNFsvAq3T5+p0j etWc24d7QAx9eUIpitPuyJet1TfN88f+etw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddutdeifeefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkfhggtggujgesthdtsfdttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrfgrth htvghrnhephfdthfefheeggfettedvfeeufeegvdfhgeelkeeifeettdevvddtueetffei ueeknecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgii vghlrdguvgdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpth htohephhhtrghmfhhiughssehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdq hhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtoh epsghruhgtvgesmhhomhhjihgrnhdruhhs X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 8 Jan 2026 10:39:41 -0500 (EST) Date: Thu, 8 Jan 2026 10:39:41 -0500 From: Andres Freund To: Bruce Momjian Cc: pgsql-hackers@lists.postgresql.org, Greg Sabino Mullane Subject: Re: [PATCH] Provide support for trailing commas Message-ID: <5ecvumscakju32sxnautb4dpqoz2vrbklko4kxg6f3zu7rx323@vtger6sdhl3r> References: <86BF995D-5959-458C-8F63-DDDB250B058B@anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2026-01-08 10:03:22 -0500, Bruce Momjian wrote: > On Thu, Jan 8, 2026 at 12:51:14AM -0500, Andres Freund wrote: > > Hi, > > > > On January 7, 2026 11:44:29 PM EST, Bruce Momjian wrote: > > >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 > > > > Meh. This kind of change really needs information about the > > implementation cost to be judged. The process described there rarely is > > a good idea for anybody that has some community experience. > > I disagree. It was clear in this case that it was the concept that was > not wanted, rather than the implementation cost. I don't agree with that, fwiw. I it were easy to implement, I think we ought to allow trailing commas in many places, most importantly the select list and from list. Greetings, Andres Freund