Re: [HACKERS] Turn off transitive joins

2017-10-14 Thread Gourav Kumar
I don't think there is any need to add any such capability in postgresql, but I need it for my work. I need the join qualifiers. On 15-Oct-2017 1:37 AM, "Tom Lane" wrote: > Gourav Kumar writes: > > Is there some way by which I can tell postgresql to

Re: [HACKERS] Turn off transitive joins

2017-10-14 Thread Tom Lane
Gourav Kumar writes: > Is there some way by which I can tell postgresql to not to consider > transitive joins while considering join pairs. No ... and you have presented no reason whatever why we should consider adding such a capability. Maybe you should be trying to

[HACKERS] Turn off transitive joins

2017-10-14 Thread Gourav Kumar
Hi all, Is there some way by which I can tell postgresql to not to consider transitive joins while considering join pairs. I.e. Let's say a query has two join predicates one between A & B relations and the other between B and C relations. While constructing the DP to find the best join order,