Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pxXHc-0000nU-HU for pgsql-general@arkaria.postgresql.org; Fri, 12 May 2023 18:14:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pxXHb-0005uV-Fn for pgsql-general@arkaria.postgresql.org; Fri, 12 May 2023 18:14:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pxXHb-0005uM-58 for pgsql-general@lists.postgresql.org; Fri, 12 May 2023 18:14:23 +0000 Received: from evolvis.org ([2a02:a00:2000:f::1]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pxXHY-002FxP-Jm for pgsql-general@postgresql.org; Fri, 12 May 2023 18:14:22 +0000 Received: from x61w.mirbsd.org (2001-4dd7-7c51-0-21f-3bff-fe0d-cbb1.ipv6dyn.netcologne.de [IPv6:2001:4dd7:7c51:0:21f:3bff:fe0d:cbb1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by evolvis.org (Postfix) with ESMTPSA id 212DC1004A2 for ; Fri, 12 May 2023 18:14:19 +0000 (UTC) Received: by x61w.mirbsd.org (Postfix, from userid 1000) id B5B2C607FD; Fri, 12 May 2023 20:14:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by x61w.mirbsd.org (Postfix) with ESMTP id B0569607FC for ; Fri, 12 May 2023 20:14:18 +0200 (CEST) Date: Fri, 12 May 2023 20:14:18 +0200 (CEST) From: Thorsten Glaser To: pgsql-general@postgresql.org Subject: Re: Window function for get the last value to extend missing rows In-Reply-To: Message-ID: <5a928693-d243-ef3b-7e2f-13e8c51ab688@evolvis.org> References: Content-Language: de-DE-1901 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, 12 May 2023, GF wrote: >"The SQL standard defines a RESPECT NULLS or IGNORE NULLS option for lead, >lag, first_value, last_value, and nth_value. This is not implemented in >PostgreSQL: the behavior is always the same as the standard's default, >namely RESPECT NULLS". Yeah, THAT caused no small amount of cursing, earlier this year, I=E2=80=99d have also used IGNORE NULLS somewhere=E2=80=A6 bye, //mirabilos --=20 15:41=E2=8E=9C Somebody write a testsuite for hello= world :-)