Re: [HACKERS] Is this it?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Is this it?
Дата
Msg-id 348.949990648@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is this it?  (Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>)
Список pgsql-hackers
Chris Bitmead <chrisb@nimrod.itg.telstra.com.au> writes:
> In ExecInitAppend it has a loop...
>     foreach(rtentryP, rtable) 
>     {
>     resultList = lcons(rri, resultList);
>     }
>       appendstate->as_result_relation_info_list = resultList;

> If I'm not mistaken this will generate the as_result_relation_info_list
> in the reverse order to the rtentry list,

Check ...

> which is wrong... right?

Maybe.  Is there code elsewhere that assumes these lists are ordered
alike?

You could change the lcons call to "lappend(resultList, rri)" if
you just want to try the experiment.
        regards, tom lane


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

Предыдущее
От: Chris Bitmead
Дата:
Сообщение: Re: [HACKERS] New Globe
Следующее
От: Lamar Owen
Дата:
Сообщение: Questions on 7.0 for RPM building