| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера