Re: Remove redundant assignment in CreateWorkExprContext - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: Remove redundant assignment in CreateWorkExprContext
Date
Msg-id 08b563af-1005-41a1-8ae1-a6aad41ad158@proxel.se
Whole thread Raw
In response to Remove redundant assignment in CreateWorkExprContext  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: Remove redundant assignment in CreateWorkExprContext
Re: Remove redundant assignment in CreateWorkExprContext
List pgsql-hackers
On 8/21/25 5:47 AM, Chao Li wrote:
> While discussing [1], I was reading execUtils.c, then I noticed this 
> redundant local variable assignment in CreateWorkExprContext(). The 
> attached patch fixed that.
Nice spotted but I think your patch reduces readability. How about this?

Andreas

Attachment

pgsql-hackers by date:

Previous
From: Alena Vinter
Date:
Subject: Re: Timeline switching with partial WAL records can break replica recovery
Next
From: Steven Niu
Date:
Subject: Re: [PATCH] check kernel version for io_method