ExecInitAppend

Поиск
Список
Период
Сортировка
От Chris Bitmead
Тема ExecInitAppend
Дата
Msg-id 389F8CF8.F2E54991@nimrod.itg.telecom.com.au
обсуждение исходный текст
Ответы Re: [HACKERS] ExecInitAppend  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
In ExecInitAppend it initialises all the subplans...

for (i = 0; i < nplans; i++){
...
appendstate->as_whichplan = i;
exec_append_initialize_next(node);
..}

And then at the end of the function, it initialises the first plan
again...

appendstate->as_whichplan = 0;
exec_append_initialize_next(node);
return TRUE;

Is this code correct? Should the first plan really be initialised twice?


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] TODO item
Следующее
От: Chris Bitmead
Дата:
Сообщение: UPDATE on subclass