From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrzej Zawadzki <zawadaa@wp.pl>
Cc: pgsql-performance@postgresql.org
Subject: Re: Strange behavior after upgrade from 9.0 to 9.2
Date: Mon, 08 Oct 2012 11:56:27 -0400
Message-ID: <2490.1349711787@sss.pgh.pa.us> (raw)
In-Reply-To: <5072F41D.5010202@wp.pl>
References: <50728C3E.9050904@wp.pl>
<1077.1349707951@sss.pgh.pa.us>
<5072F41D.5010202@wp.pl>
Andrzej Zawadzki <zawadaa@wp.pl> writes:
> On 08.10.2012 16:52, Tom Lane wrote:
>> [ counts... ] You've got nine base relations in that query. I think
>> you need to increase from_collapse_limit and/or join_collapse_limit.
> Bingo! Thank you!
> But... looks like in 9.0 this worked differently or option was skipped?
> Because I had default settings of that options and query has worked fine.
It looks like 9.0 wasn't flattening the EXISTS subqueries, so those
tables didn't count as relations of the main query.
regards, tom lane
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-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, zawadaa@wp.pl
Subject: Re: Strange behavior after upgrade from 9.0 to 9.2
In-Reply-To: <2490.1349711787@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