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.98.2) (envelope-from ) id 1x7EKe-00000000DGQ-2gH1 for pgsql-hackers@arkaria.postgresql.org; Thu, 17 Sep 2026 15:47:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1x7EKd-00000005NQh-2qnE for pgsql-hackers@arkaria.postgresql.org; Thu, 17 Sep 2026 15:47:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x7EKd-00000005NQX-0iA9 for pgsql-hackers@lists.postgresql.org; Thu, 17 Sep 2026 15:47:27 +0000 Received: from relay1-d.mail.gandi.net ([217.70.183.193]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x7EKZ-000000012fz-2X19 for pgsql-hackers@postgresql.org; Thu, 17 Sep 2026 15:47:26 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id E6F013F084; Thu, 17 Sep 2026 15:47:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postgresfriends.org; s=gm1; t=1789660042; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/fZbGCuqMlvEb/G2GktMTRSAimBPChws02qdh920Uco=; b=TTpBUrwKH4k0ThQ9fpgVy/lnMUrqOrRBPlpCwayzm1KUNIpJtPhDryXricAloblj2S/gc8 o/ERi0UK9HvowXI+TzL5OmzqdwNVvP8q0YRJKX+pBkWcDiY4QneHhnbjOAWGWc/OBrpDUO Q8ZghNqoIiOhBr7tXz0AKgjoXAQhksayIwdISggrJtpXnes3TIw7jwSn4BolT3wjzWp3Bl QY13Bu7KBphQqoMTz1S0ia6klv2LSu6FzPAfHtjVf/5HNN0R+nY+aRVc/AMFqz5HCthLRu BWL8S58Wj1PjbY33O4Q7IOAxF0W9ADyXlzknrnndQ2mKycM+UgJJVHb5Kglf6Q== Message-ID: Date: Thu, 17 Sep 2026 17:47:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: ON EMPTY clause for aggregate and window functions To: Tom Lane , Robert Haas Cc: Jeevan Chalke , PostgreSQL Hackers , Isaac Morland References: <636820.1789651904@sss.pgh.pa.us> Content-Language: en-US From: Vik Fearing In-Reply-To: <636820.1789651904@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Sasl: vik@postgresfriends.org X-GND-State: clean X-GND-Score: -100 X-GND-Cause: dmFkZTE1mB1stv0w9NQa9RIgIgRKcVutvl8w8iEijUUnf+GGZT8pDNgeI1DPQBpFKmYoMghY5KHaAXwGMXcJAfCqQoyTV1mtV4RKLei1V1fqIrjNCJ53PNA06oaOg9DofuMTK+fE7+j3GsB+7iBmDf2PEEgKs/fAXOwqcniBjCxdW5mQJikls7rXgjQrVVtJBZ528hJaxa9n4c49pIYP+l54yGfb4ufU4gC00/b6u7JfeRpd7wytw9Xxh0mGJ+DOab1w5wWseGrDhKIsqoJM+dbivpXRnKYQ7RPMMJlU6YfxN3MgcagjbVuNa9s8AgwCamR3Bytz2KQjOXac9k6zT/WUb1BrWkF6Be5iiiGDFKSi31IC6B2HiJqhgmCESM0kyRWItCNBfw6cZiE2dXtFu5PY9hENWr8IK6E/cMM6kH/8R+ZIBBoB1+HSGy+53EdoBmnx0AiMD47bXVCS3STgDB005uEst2oUycv4pbNpXPW9ppxlJ9DnvlnN3HQ3pG17slbMXvhb0BQliR3SnNl7W1KQeJFa1zLiGVtib+qckYoygz0/SbtBOMsLHLT9WKqCuD2Uor6ncI1XnYiN0/k17qT1w8Jz9wDjI43o3iJZpYK/jgCCnDvit9ct6+u2/j4J1nJ8AjA6ckIeTKml9c2nuIJi7kAFQcaDkla5g609siflpL1SPg List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 17/09/2026 15:31, Tom Lane wrote: > Yes, this choice of syntax sucks pretty badly. I agree. The next edition isn't out yet, if we would like to suggest something better. > 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. -- Vik Fearing