From: | Greg Burd <greg(at)burd(dot)me> |
---|---|
To: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Fix for compiler warning triggered in WinGetFuncArgInPartition() |
Date: | 2025-10-09 14:57:35 |
Message-ID: | 63E395BB-41A2-4391-A24E-15A51B86E5C6@getmailspring.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Oct 9 2025, at 10:45 am, Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote:
> On Thu, Oct 09, 2025 at 09:41:15AM -0500, Nathan Bossart wrote:
>> On Thu, Oct 09, 2025 at 10:21:23AM -0400, Greg Burd wrote:
>>> ‘WinGetFuncArgInPartition’:../src/backend/executor/nodeWindowAgg.c:3809:33:
>>> warning:‘notnull_relpos’ may be used uninitialized
>>> [-Wmaybe-uninitialized] 3809 | } while (notnull_offset <
>>> notnull_relpos); |
>>> ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~../src/backend/executor/nodeWindowAgg.c:3723:33:
>>> note: ‘notnull_relpos’was declared here 3723 | int
>>>
>>> notnull_relpos; | ^~~~~~~~~~~~~~
>>
>> Just curious, what compiler/version is this? I skimmed the buildfarm
>> a bit
>> but didn't find any such warnings.
>
> Looks like Tom just fixed this: https://postgr.es/c/71540dc
Scooped! Thanks Tom. :)
regards.
-greg
> --
> nathan
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Bossart | 2025-10-09 14:58:02 | Re: memory leak in dbase_redo() |
Previous Message | jian he | 2025-10-09 14:50:34 | Re: speedup COPY TO for partitioned table. |