Re: Controlling join order with parenthesis

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Marc Mamin" <M(dot)Mamin(at)intershop(dot)de>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Controlling join order with parenthesis
Date: 2010-09-09 13:49:45
Message-ID: 27781.1284040185@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Marc Mamin" <M(dot)Mamin(at)intershop(dot)de> writes:
> According to the documentation, I thought it was possible to force given
> join orders with parenthesis.

You can do that if you dial down join_collapse_limit. Bear in mind that
leaves you *solely* responsible for picking an intelligent join order.
I wouldn't recommend it as a production setting.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Greg Caulton 2010-09-10 09:46:35 sql disaster - subquery error but delete continues
Previous Message Marc Mamin 2010-09-09 12:51:27 Controlling join order with parenthesis