Re: fix for BUG #3720: wrong results at using ltree

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fix for BUG #3720: wrong results at using ltree
Дата
Msg-id 3007.1585605566@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: fix for BUG #3720: wrong results at using ltree  (Nikita Glukhov <n.gluhov@postgrespro.ru>)
Ответы Re: fix for BUG #3720: wrong results at using ltree  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Nikita Glukhov <n.gluhov@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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Nikita Glukhov
Дата:
Сообщение: Re: fix for BUG #3720: wrong results at using ltree
Следующее
От: Ranier Vilela
Дата:
Сообщение: Re: [PATCH] remove condition always true (/src/backend/access/heap/vacuumlazy.c)