Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Burd <greg(at)burd(dot)me>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()
Date: 2025-10-09 15:25:35
Message-ID: 2953487.1760023535@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Burd <greg(at)burd(dot)me> writes:
> To calm the compiler's nerves this patch moves the initialization of
> notnull_relpos to later in the function.

I was seeing the same warning for "forward" in the buildfarm,
so I moved all of these initializations down. Otherwise,
looks like we independently invented the same fix ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-10-09 15:28:21 Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()
Previous Message Euler Taveira 2025-10-09 15:22:59 Re: Invalid pointer access in logical decoding after error