Hello,

Can someone tell me how can i let the inner plan in a nestloop join NOT to 
restart for each tuple of the outer Plan ..
so essentially, my inner plan has to be executed only once and not 'n' times 
.. where 'n' is the number of outer tuples ...

I tried by commenting ExecReScan(innerPlan, econtext, (Plan *) node);  at 
line # 154 in nodeNestLoop.c .. but that is not working out !! :-\

Some one can please educate me about what is happenning !!!

-Ramu

_________________________________________________________________
Contact brides & grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag 
Only on www.shaadi.com. Register now!


Sat, 15 May 2004 17:34:51 +0530
"Ramanujam H S Iyengar" <hals_ramu@hotmail.com>
Stop restarting of inner plan??
"Ramanujam H S Iyengar" <hals_ramu@hotmail.com> writes:
> Can someone tell me how can i let the inner plan in a nestloop join NOT to 
> restart for each tuple of the outer Plan ..

You can't.  At least, not if you want the correct results from the join.

			regards, tom lane

Sat, 15 May 2004 11:54:04 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: Stop restarting of inner plan?? 