Re: [HACKERS] Copy path in Dynamic programming

2010-07-27 Thread Tom Lane
Robert Haas writes: > On Thu, Jul 22, 2010 at 12:38 PM, vamsi krishna > wrote: >> if lev=5 , and let's say there are two combinations setA = {1,2,3,4,5} and >> set B={6,7,8,9,10}. >> >> I want to reuse the plan of {1.2,3,4,5} for {6,7,8,9,10}. > I don't think that makes any sense. Yeah. The t

Re: [HACKERS] Copy path in Dynamic programming

2010-07-22 Thread Robert Haas
On Thu, Jul 22, 2010 at 12:38 PM, vamsi krishna wrote: > if lev=5 , and let's say there are two combinations setA = {1,2,3,4,5} and > set B={6,7,8,9,10}. > > I want to reuse the plan of {1.2,3,4,5} for {6,7,8,9,10}. I don't think that makes any sense. -- Robert Haas EnterpriseDB: http://www.ent

[HACKERS] Copy path in Dynamic programming

2010-07-22 Thread vamsi krishna
Hi everybody I am doing a modification to Dynamic programming algorithm in postgreSQL. I want to re-use a plan of one " joinrels" for another of the same level. For example, if lev=5 , and let's say there are two combinations setA = {1,2,3,4,5} and set B={6,7,8,9,10}. I want to reuse the plan of