[HACKERS] Turn off transitive joins - Mailing list pgsql-hackers

From Gourav Kumar
Subject [HACKERS] Turn off transitive joins
Date
Msg-id CAPzqDmif8k_ZQ4XR06VfKrKHqtWPwbr96SP8SbAOA_2ecZRQ=A@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] Turn off transitive joins
List pgsql-hackers

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, the Optimizer also consider join between A & C, which can be thought of as a transitive join.

Is their some way to turn this off or tell postgresql to not to consider these type of joins ?

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: [HACKERS] PATCH: enabling parallel execution for cursors explicitly(experimental)
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Turn off transitive joins