From: Álvaro Herrera <alvherre@kurilemu.de>
To: Tatsuo Ishii <ishii@postgresql.org>
Cc: ojford@gmail.com
Cc: peter@eisentraut.org
Cc: li.evan.chao@gmail.com
Cc: krasiyan@gmail.com
Cc: tgl@sss.pgh.pa.us
Cc: vik@postgresfriends.org
Cc: andrew@tao11.riddles.org.uk
Cc: david@fetter.org
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options
Date: Sun, 5 Oct 2025 18:20:30 +0200
Message-ID: <202510051612.gw67jlc2iqpw@alvherre.pgsql> (raw)
In-Reply-To: <20251003.100606.2086363717963832725.ishii@postgresql.org>
On 2025-Oct-03, Tatsuo Ishii wrote:
> I have just pushed the patch (plus patches for syntax.sgml and
> sql_features.txt. They were missued after I splitted the patch).
> Thank you for your effort!
I just noticed this compiler warning in a CI run,
[16:06:29.920] ../src/backend/executor/nodeWindowAgg.c:3820:16: warning: ‘datum’ may be used uninitialized [-Wmaybe-uninitialized]
[16:06:29.920] 3820 | return datum;
[16:06:29.920] | ^~~~~
[16:06:29.920] ../src/backend/executor/nodeWindowAgg.c:3719:25: note: ‘datum’ was declared here
[16:06:29.920] 3719 | Datum datum;
[16:06:29.920] | ^~~~~
The logic in this function looks somewhat wicked.
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: alvherre@kurilemu.de, ishii@postgresql.org, ojford@gmail.com, peter@eisentraut.org, li.evan.chao@gmail.com, krasiyan@gmail.com, tgl@sss.pgh.pa.us, vik@postgresfriends.org, andrew@tao11.riddles.org.uk, david@fetter.org
Subject: Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options
In-Reply-To: <202510051612.gw67jlc2iqpw@alvherre.pgsql>
References: <20251003.100606.2086363717963832725.ishii@postgresql.org> <202510051612.gw67jlc2iqpw@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox