Re: [SQL] marking tuples

2007-12-05 Thread Ehab Galal
Thanks a lot for your reply. I really appreciate it. I will have only one mark field created for the bottommost NewJoin. The other nodes will just use the same mark field. I just want to make sure that flag propagate up the pipeline. Thanks again, ehab > To: [EMAIL PROTECTED] > CC: pgsql-sql@po

Re: [SQL] marking tuples

2007-12-05 Thread Gregory Stark
"Ehab Galal" <[EMAIL PROTECTED]> writes: > In my algorithm, each NewJoin node may "mark" its ps_ResultTupleSlot with > either red/green. I need that mark to flow in the pipeline so that i can > collect them at the top aggregate. How will you tell about the marks from different NewJoins? I think

[SQL] marking tuples

2007-12-04 Thread Ehab Galal
Hi, I am implementing a new algorithm inside postgresql for a side research project. I am just wondering if anyone may give me few hints about the following problem: Consider the following plan: NewAggregate ->NewJoin ->NewJoin ->NewJoin ->Se