agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Herwig Goemans <herwig.goemans@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: ANSI JOINS versus , like JOINS
Date: Mon, 20 Jun 2016 09:42:12 -0400
Message-ID: <11580.1466430132@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKaDz_EVOgNE7NkBeP=VUpnz5KEBzNgujGcqCBRehP945nXhOw@mail.gmail.com>
References: <CAKaDz_EVOgNE7NkBeP=VUpnz5KEBzNgujGcqCBRehP945nXhOw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

Herwig Goemans <herwig.goemans@gmail.com> writes:
> Is there anyone who can help so that the mixed query has the same or
> equivalent execution plan (performance) as the ansi query ?

I think you need to raise join_collapse_limit and/or from_collapse_limit.

			regards, tom lane


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (3+ messages)  latest in thread

Message-ID: <11580.1466430132@sss.pgh.pa.us>
Permalink:  ../11580.1466430132@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11580.1466430132@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, herwig.goemans@gmail.com
  Subject: Re: ANSI JOINS versus , like JOINS
  In-Reply-To: <11580.1466430132@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox