| From: | Tatsuo Ishii <ishii(at)postgresql(dot)org> |
|---|---|
| To: | alvherre(at)kurilemu(dot)de |
| Cc: | ojford(at)gmail(dot)com, peter(at)eisentraut(dot)org, li(dot)evan(dot)chao(at)gmail(dot)com, krasiyan(at)gmail(dot)com, tgl(at)sss(dot)pgh(dot)pa(dot)us, vik(at)postgresfriends(dot)org, andrew(at)tao11(dot)riddles(dot)org(dot)uk, david(at)fetter(dot)org, pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options |
| Date: | 2025-10-07 23:50:16 |
| Message-ID: | 20251008.085016.1771833814329805825.ishii@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> 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.
Thanks for the report. I believe the warning is eliminated in the v2
patch[1].
Best regards,
[1] https://stream.boxwatch.ru/message-id/20251007.112832.740065769089328041.ishii%40postgresql.org
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tomas Vondra | 2025-10-07 23:51:50 | Re: Fix overflow of nbatch |
| Previous Message | Tom Lane | 2025-10-07 23:20:10 | Re: src/include/utils/float.h comment one link stable |