Re: Fix for compiler warning triggered in WinGetFuncArgInPartition() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()
Date
Msg-id 2953487.1760023535@sss.pgh.pa.us
Whole thread Raw
In response to Fix for compiler warning triggered in WinGetFuncArgInPartition()  (Greg Burd <greg@burd.me>)
List pgsql-hackers
Greg Burd <greg@burd.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



pgsql-hackers by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: Invalid pointer access in logical decoding after error
Next
From: Tom Lane
Date:
Subject: Re: Fix for compiler warning triggered in WinGetFuncArgInPartition()