Re: Executor code - found an instance of a WHILE that should just be an IF

Julien Rouhaud <rjuju123@gmail.com>

From: Julien Rouhaud <rjuju123@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: David Rowley <dgrowleyml@gmail.com>, Greg Nancarrow <gregn4422@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2021-05-13T12:28:24Z
Lists: pgsql-hackers
On Thu, May 13, 2021 at 08:06:18PM +0900, Michael Paquier wrote:
> On Thu, May 13, 2021 at 08:20:36PM +1200, David Rowley wrote:
> > Since there's no bug fix here, I thought that there's not much point
> > in backpatching this.
> 
> Indeed.  I would not bother with a back-patch either.
> 
> > Does anyone object to making this small change in master?
> 
> No objections from here.

+1 to both.



Commits

  1. Convert misleading while loop into an if condition