Re: [CFReview] Red-Black Tree

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [CFReview] Red-Black Tree
Дата
Msg-id 6895.1265686988@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [CFReview] Red-Black Tree  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [CFReview] Red-Black Tree  (Robert Haas <robertmhaas@gmail.com>)
Re: [CFReview] Red-Black Tree  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Feb 8, 2010 at 3:05 PM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
>> It seems a bit strange to have all the rb_free_recursive support and not
>> use it anywhere ... and a freefunc callback even, whose only caller
>> seems to set as null currently. �Hmm, even in the knngist patch the
>> rb_freefunc stuff is unused.

> I don't think it's inappropriate;  it doesn't seem implausible that
> someone might want to free an rbtree someday.  I suppose we could
> comment it out but I guess I don't see the point.

I think the suggestion was to *remove* it not comment it out.  I'm
skeptical of carrying dead code.  If the functionality is not used
in the proposed gist patches then it's very fair to question whether
it ever will be used.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: CVS checkout source code for different branches
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: set the cost of an aggregate function