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 1trWJl-004xyi-M2 for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Mar 2025 06:08:49 +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 1trWJj-0042ez-Dm for pgsql-hackers@arkaria.postgresql.org; Mon, 10 Mar 2025 06:08:47 +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 1trWJj-0042eq-1p for pgsql-hackers@lists.postgresql.org; Mon, 10 Mar 2025 06:08:47 +0000 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1trWJe-001yiC-2v for pgsql-hackers@lists.postgresql.org; Mon, 10 Mar 2025 06:08:46 +0000 Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfout.phl.internal (Postfix) with ESMTP id D8E181382D20; Mon, 10 Mar 2025 02:08:42 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-09.internal (MEProxy); Mon, 10 Mar 2025 02:08:42 -0400 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=fm1; t=1741586922; x=1741673322; bh=R yCXKSW6dmC4egGLJCiDZJDExLP3+EVX7+QHku1h27U=; b=WkJ/8VR4L7/pT+K+3 QR2dy8EFFyfkK7v+/2ud3wPnAybv1MjIQNktxbBqv1Gndr15jYVI9sCIurbJSU7e cJWBUpt4sryVXGEllE58NMTRpRO6E3R47ntlJCh1CQBGAUjaD/sqwHt/VEyBkREn OjrZIyeZ/NJLqfODIBCOexuS425CGDt392iMRibwjvEkValDllbJ+6poFMVGmlC+ lcKlp30rc3jcUUnLGVtyivXyilB1Wx6gWpclqW82ax0clQMtSfYxEEZCWU5GAm+F sJBYa9tiLd5m3c8/cqhnSD2Y3KFOYq6evfYnGxlGIsas5FB4iADj8VCAF0Kr2uy9 KbMxw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduudekheelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhf fvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpemllhhvrghrohcujfgvrhhr vghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrg htthgvrhhnpedvheeuffehgfeukeeufeehhefghfeugfefudekjeevudffgeffkeegffff veegheenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegr lhhvhhdrnhhoqdhiphdrohhrghdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtph houhhtpdhrtghpthhtohepughgrhhofihlvgihmhhlsehgmhgrihhlrdgtohhmpdhrtghp thhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrd horhhgpdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhush X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 10 Mar 2025 02:08:42 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1741586919; bh=TVeKbP5zVafzwZoWX/4YPekD0NtE2NMK82ZOTNYTKOk=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=E2ocnvObCcPbFOjzj4jIpIwy0IcvxWWUQSdoDRhMIWEsa1pLQ7Ba36auF0V0EXdKI Bn2zpCOnUOTIKtLEExtpeYye95mVZ82ecsehmAAqhmCBm/dC801JcT9YDaj8CtmaPA SAMxwieQnnPbo576dep+g6yVM0aPfvgLXsf4OC5xw67h1Ps/OnLgOzDOHCKp5wq/SX xqyN2r4VgL41Q67BCdyRnZ7sJyKztyUC2rHPsf3roQCgwhPQNt349otgk55/8naQLz fgj1JGBidwxNrDFJjNvao4s396KZpzaZ8aXtlT17h0y/CDsJSGqC/HUz5kW+KknXhR +wC4F1wBQ8t/g== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id A803691; Mon, 10 Mar 2025 07:08:39 +0100 (CET) Date: Mon, 10 Mar 2025 07:08:39 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Tom Lane Cc: David Rowley , pgsql-hackers@lists.postgresql.org Subject: Re: Printing window function OVER clauses in EXPLAIN Message-ID: <202503100608.ktmgfoerjfqs@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <641586.1741569208@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Mar-09, Tom Lane wrote: > David Rowley writes: > > What are your thoughts on being a bit more brief with the naming and > > just prefix with "w" instead of "window"? Looking at window.out, I see > > that the EXPLAIN output does become quite a bit wider than before. I > > favour the idea of saving a bit of space. There is an example in > > src/sgml/advanced.sgml that has "OVER w", so it does not seem overly > > strange to me to name them "w1", "w2", etc. > > OK by me, any objections elsewhere? WFM. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/