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 1qnJrP-00Ab6M-Bo for pgsql-docs@arkaria.postgresql.org; Mon, 02 Oct 2023 14:25:23 +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 1qnJrN-00Fbie-Rr for pgsql-docs@arkaria.postgresql.org; Mon, 02 Oct 2023 14:25:21 +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.94.2) (envelope-from ) id 1qnJrN-00FbiI-Jv for pgsql-docs@lists.postgresql.org; Mon, 02 Oct 2023 14:25:21 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qnJrG-007nZI-TU for pgsql-docs@lists.postgresql.org; Mon, 02 Oct 2023 14:25:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 392EODMN2019044; Mon, 2 Oct 2023 10:24:13 -0400 From: Tom Lane To: giampow@gmail.com cc: pgsql-docs@lists.postgresql.org Subject: Re: examples for windows functions In-reply-to: References: Comments: In-reply-to Giampaolo Capelli message dated "Mon, 02 Oct 2023 13:42:58 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2019042.1696256653.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 02 Oct 2023 10:24:13 -0400 Message-ID: <2019043.1696256653@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Giampaolo Capelli writes: > I'd like to propose to add some examples to the following page > https://www.postgresql.org/docs/16/functions-window.html > The syntax of window functions is fully covered by the page > https://www.postgresql.org/docs/16/sql-expressions.html#SYNTAX-WINDOW-FU= NCTIONS > but I think it would be helpful to put some examples in > https://www.postgresql.org/docs/16/functions-window.html That page starts out with a link to section 3.5 which is full of examples. Seems a bit repetitive to put more here. regards, tom lane