pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marc Mamin <M.Mamin@intershop.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: Controlling join order with parenthesis
Date: Thu, 09 Sep 2010 09:49:45 -0400
Message-ID: <27781.1284040185@sss.pgh.pa.us> (raw)
In-Reply-To: <C4DAC901169B624F933534A26ED7DF31034BB7D3@JENMAIL01.ad.intershop.net>
References: <C4DAC901169B624F933534A26ED7DF31034BB7D3@JENMAIL01.ad.intershop.net>

"Marc Mamin" <M.Mamin@intershop.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



view thread (2+ messages)

Message-ID: <27781.1284040185@sss.pgh.pa.us>
Permalink:  ../27781.1284040185@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27781.1284040185@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, M.Mamin@intershop.de
  Subject: Re: Controlling join order with parenthesis
  In-Reply-To: <27781.1284040185@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox