ExecStoreTuple going into infinite loop

Поиск
Список
Период
Сортировка
От Atri Sharma
Тема ExecStoreTuple going into infinite loop
Дата
Msg-id CAOeZVicrZX8VS-W7tdTOXThAhi=JXf6GmgbrVf-3WWofkxU=YA@mail.gmail.com
обсуждение исходный текст
Ответы Re: ExecStoreTuple going into infinite loop  (Merlin Moncure <mmoncure@gmail.com>)
Re: ExecStoreTuple going into infinite loop  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi all,

I am trying to build and store multiple tuples.The code is:

ExecClearTuple(slot);

/The code for fetching the data from which tuple will be formed../
for(;x<y;x++){
tuple = BuildTupleFromCStrings(TupleDescGetAttInMetadata(node->ss.ss_currentRelation->rd_att),
values);
ExecStoreTuple(tuple, slot, InvalidBuffer, false);
}

return (slot);


When I am including the ExecClearTuple(slot),the result only includes
the last tuple that was built.If I do not include
ExecClearTuple(slot),the code goes into an infinite loop.

Please help.

Atri
-- 
Regards,

Atri
l'apprenant


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Inconsistency in libpq connection parameters, and extension thereof
Следующее
От: Sandro Santilli
Дата:
Сообщение: Re: Interrupting long external library calls