Re: [HACKERS] ExecStoreTuple going into infinite loop

2012-06-06 Thread Tom Lane
Atri Sharma writes: > 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 tuple = > BuildTupleFromCStrings(TupleDescGetAttInMetadata(node->ss.ss_currentRelation->rd_att), > va

Re: [HACKERS] ExecStoreTuple going into infinite loop

2012-06-06 Thread Merlin Moncure
On Wed, Jun 6, 2012 at 5:36 AM, Atri Sharma wrote: > 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 tuple = > BuildTupleFromCStrings(TupleDescGetAttInMetadata(node->s

[HACKERS] ExecStoreTuple going into infinite loop

2012-06-06 Thread Atri Sharma
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(;xss.ss_currentRelation->rd_att), values); ExecStoreTuple(tuple, slot, InvalidBuffer, false); } return (slot); When I am including t