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.94.2) (envelope-from ) id 1ueUak-00ALh5-Tw for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Jul 2025 08:12:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ueUak-000r7p-2G for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Jul 2025 08:12:46 +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.94.2) (envelope-from ) id 1ueUaj-000r7g-Oj for pgsql-hackers@lists.postgresql.org; Wed, 23 Jul 2025 08:12:46 +0000 Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ueUag-000Nxi-21 for pgsql-hackers@postgresql.org; Wed, 23 Jul 2025 08:12:45 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 43B45EC0012; Wed, 23 Jul 2025 04:12:42 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Wed, 23 Jul 2025 04:12:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm1; t=1753258362; x= 1753344762; bh=EzeNtlET+u9EE6tzmF/opxslbY710jcgyj5Vwako93k=; b=n XB1FcxP+mmfnpda2VWwIt779DVWl2yv4w1xllsTPKnzhziCEroIOulTA5UQcv7Aa tis7aYj4MeCZoXZd190emSyvC1o3vO6vH7O1PtuzVIOluliEja3tNTlsIObxdQU2 wQzJHMuku5UHhm4ANPuCDj6j8H4UIpJfQwaDYXVnDLlHZyY+3fOQbyIE3T9jNy/2 Xe5Yz1/BhqnDj6QF/kX39MlHrXfi+w93PLF+iWJ0qRWANUhXEOjfVJtDKHQXL/tR 1l7M4Xi6Wt8VRfUOc6lRs6l3nbnXbObReEbuxzXc0BJboURknqi2xw6GMeBERyjW 2nVA/X8eQp81xOEx0cX/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753258362; x=1753344762; bh=E zeNtlET+u9EE6tzmF/opxslbY710jcgyj5Vwako93k=; b=PT3fhGqT0r7sGYLPA DNIDeCPAG06dHwXJZ4go0CaLA8/a0xwc/+9ROISfPN3RaFCYUha83J54AS4x06Vk rfbuDkuvUUb5O5oh6ZlIVuiqPNm2PtRCfrFIjaeQCCN0/WTFPaBOhDco3CkZZylh tnvXIxe6MPMtw11rwcrpC0Iw96bFu8D/CH6/oXY5CmeWFUgDEzyWOTVzVmUfA2Xu h0heEnkIxPpOgOsnlvdAmWurvtOYhVZNq4/UfkvCeshk4X1PeH1NqBVy16zU+326 ibjy30VygNg0YXRTJ9Rn8xDh9R/rcoIgnfgVAvTkxSa1b1qpmEUe7UrEFrqNqoiG MPp0g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejjedvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpemllhhvrghrohcu jfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgeskhhurhhilhgvmhhurdguvgeqnecuggftrf grthhtvghrnhepteeuvdehffekvefgueehveetveekgfegtddtueefueehuddutdfhfeff hfejfeffnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvges khhurhhilhgvmhhurdguvgdpnhgspghrtghpthhtohepledpmhhouggvpehsmhhtphhouh htpdhrtghpthhtohepnhhitghosegtrhihphhtohhnvggtthhorhdrtghomhdprhgtphht thhopegrnhgurhgvfiesughunhhslhgrnhgvrdhnvghtpdhrtghpthhtohepphgvthgvrh esvghishgvnhhtrhgruhhtrdhorhhgpdhrtghpthhtohepmhgrthhhvghushhsshhilhhv leejsehgmhgrihhlrdgtohhmpdhrtghpthhtohepmhhmohhntghurhgvsehgmhgrihhlrd gtohhmpdhrtghpthhtohepphgrvhgvlhdrshhtvghhuhhlvgesghhmrghilhdrtghomhdp rhgtphhtthhopehvihhksehpohhsthhgrhgvshhfrhhivghnughsrdhorhhgpdhrtghpth htohepphhgshhqlhdqhhgrtghkvghrshesphhoshhtghhrvghsqhhlrdhorhhgpdhrtghp thhtohepthhglhesshhsshdrphhghhdrphgrrdhush X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Jul 2025 04:12:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1753258359; bh=oDFGal7sax2YSB8DJsl6ZSzLEWupbQnmhPnLhnZWq6Y=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=Xpvy/8MQwfOHIttbbOqGvt/LXRGBC70ugRjGCwxVTKakz1cKMlFEbXSW64nXPgU49 QIx+I1lmY1uf1TxpujFdjs6DQi8bo1+TAQqS70rDLxD3x/NnExgpQ0kvMSkAt8KftF Al+IoxzO+u5NMiU89FemN/hCcnzC5SFqNeuxNQ3306UVJDNXfmELX6K+xSmMqtc6ws 7kvJ8Xs2YXwAJmYT3id++IKCeWqkMRpwMf0TZrkc3fWBpKsGgVh08ZgJIA7gdJZjr8 9X5asfGN+Usre6vAX0xySudIG+IWt0m8r6BVDsK5VI5EDUL/twTdB1K8QY7AaGHKKa aEf4l4RiECrnw== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id E57A590; Wed, 23 Jul 2025 10:12:39 +0200 (CEST) Date: Wed, 23 Jul 2025 10:12:39 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Andrew Dunstan Cc: Vik Fearing , Nico Williams , Tom Lane , Merlin Moncure , Pavel Stehule , Matheus Alcantara , Pg Hackers , Peter Eisentraut Subject: Re: Proposal: QUALIFY clause Message-ID: <202507230812.cpptkfzdholh@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6bcb5472-194e-4813-8bed-8719c492f6f2@dunslane.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Jul-22, Andrew Dunstan wrote: > If we were making up our own syntax this would be a sensible thing to > debate. If we're talking about implementing something we expect to be in the > standard, I think we will have to live with what the standards committee > decides, regardless of our preference. We've almost certainly been preempted > here by other RDBMSs using QUALIFY, heedless of English grammar. The Romans, the Vikings, the Normans, all have influenced the English language. Why not SQL? -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ “Cuando no hay humildad las personas se degradan” (A. Christie)