pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Vik Fearing <vik@postgresfriends.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Jeevan Chalke <jeevan.chalke@enterprisedb.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Isaac Morland <isaac.morland@gmail.com>
Subject: Re: ON EMPTY clause for aggregate and window functions
Date: Thu, 17 Sep 2026 11:55:02 -0400
Message-ID: <645015.1789660502@sss.pgh.pa.us> (raw)
In-Reply-To: <e9454ec0-6b35-49d6-aac3-7c5f1deeb309@postgresfriends.org>
References: <CAM2+6=VS=fSKxfimW6Th9iu_xjbxOEAKg4eYwaa=SMg3X8pHaQ@mail.gmail.com>
	<CAMsGm5fxS7+WbQ_mAziiTH8GxqurmVMKUFG5bm2pM7X+JCzpug@mail.gmail.com>
	<CAM2+6=Ws0Z2BmLv=NGe3B7ZZLT3y6RQxXwGKbQErYFmCFEd9Sw@mail.gmail.com>
	<CAM2+6=ULokLQY+-2FiY95Rp5CwV7nRF0a0dP9DzO6mb1_mKn6g@mail.gmail.com>
	<CA+TgmoYfZW9y_T8A1nykRUcvJ2FQtMpBjgkq=+TCdq0-odF4=w@mail.gmail.com>
	<636820.1789651904@sss.pgh.pa.us>
	<e9454ec0-6b35-49d6-aac3-7c5f1deeb309@postgresfriends.org>

Vik Fearing <vik@postgresfriends.org> writes:
> On 17/09/2026 15:31, Tom Lane wrote:
>> I'd be totally fine with rejecting this as a frammish we do
>> not care to support.

> I am not the most unbiased person, but I would like us to implement it.
> If for nothing else, then for helping people convert from database 
> implementations that do have it.

It's not zero cost.  Robert already mentioned the
development/maintenance effort involved, and it also bloats the Bison
grammar rules, creating some incremental penalty on parsing speed.
Admittedly these costs aren't large, but neither is the benefit
of supporting it.

			regards, tom lane






view thread (14+ messages)  latest in thread

Message-ID: <645015.1789660502@sss.pgh.pa.us>
Permalink:  ../645015.1789660502@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/645015.1789660502@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vik@postgresfriends.org, robertmhaas@gmail.com, jeevan.chalke@enterprisedb.com, isaac.morland@gmail.com
  Subject: Re: ON EMPTY clause for aggregate and window functions
  In-Reply-To: <645015.1789660502@sss.pgh.pa.us>
  References: <CAM2+6=VS=fSKxfimW6Th9iu_xjbxOEAKg4eYwaa=SMg3X8pHaQ@mail.gmail.com> <CAMsGm5fxS7+WbQ_mAziiTH8GxqurmVMKUFG5bm2pM7X+JCzpug@mail.gmail.com> <CAM2+6=Ws0Z2BmLv=NGe3B7ZZLT3y6RQxXwGKbQErYFmCFEd9Sw@mail.gmail.com> <CAM2+6=ULokLQY+-2FiY95Rp5CwV7nRF0a0dP9DzO6mb1_mKn6g@mail.gmail.com> <CA+TgmoYfZW9y_T8A1nykRUcvJ2FQtMpBjgkq=+TCdq0-odF4=w@mail.gmail.com> <636820.1789651904@sss.pgh.pa.us> <e9454ec0-6b35-49d6-aac3-7c5f1deeb309@postgresfriends.org> <645015.1789660502@sss.pgh.pa.us>

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

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