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

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

... although looking closer, this formulation does have one very nice
advantage: for the typical non-star case with high = low = 1, the
only recursive call is a tail recursion, so it ought to consume less
stack space than what I wrote.

Let me see what I can do with the comments.

            regards, tom lane



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

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