From: Andrzej Zawadzki <zawadaa@wp.pl>
To: pgsql-performance@postgresql.org
Subject: Re: Strange behavior after upgrade from 9.0 to 9.2
Date: Mon, 08 Oct 2012 18:14:25 +0200
Message-ID: <5072FBE1.6010700@wp.pl> (raw)
In-Reply-To: <2490.1349711787@sss.pgh.pa.us>
References: <50728C3E.9050904@wp.pl>
<1077.1349707951@sss.pgh.pa.us>
<5072F41D.5010202@wp.pl>
<2490.1349711787@sss.pgh.pa.us>
On 08.10.2012 17:56, Tom Lane wrote:
> 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.
Thanks for explanation.
Looks like now I can switch to 9.2.1 on production server. :-)
--
Andrzej Zawadzki
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: zawadaa@wp.pl
Subject: Re: Strange behavior after upgrade from 9.0 to 9.2
In-Reply-To: <5072FBE1.6010700@wp.pl>
* 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