Nikita Glukhov <n.glu...@postgrespro.ru> writes: > On 30.03.2020 21:00, Tom Lane wrote: >> Hence, new patch versions that do it like that. (0002 is unchanged.)
> I tried to simplify a bit loops in checkCond() by merging two of them into > one with an explicit exit condition. Also I added return statement after > this loop, so it's now clear that we can't fall into next "while" loop. I dunno, that doesn't really seem clearer to me (although some of it might be that you expended no effort on making the comments match the new code logic). regards, tom lane