From: Tom Lane <tgl@sss.pgh.pa.us>
To: Antal Attila <atesz@ritek.hu>
Cc: pgsql-performance@postgresql.org
Subject: Re: Wrong plan for subSELECT with GROUP BY
Date: Fri, 12 May 2006 10:05:16 -0400
Message-ID: <23992.1147442716@sss.pgh.pa.us> (raw)
In-Reply-To: <446482E4.6050906@ritek.hu>
References: <446482E4.6050906@ritek.hu>
Antal Attila <atesz@ritek.hu> writes:
> If this is a deficiency of the planner, I'd like to suggest this feature
> into the planner.
This really falls into the category of "you've got to be kidding".
There's no way that it'd be reasonable for the planner to expend cycles
on every query to look for corner cases like this. Do the
hand-optimization instead.
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, atesz@ritek.hu
Subject: Re: Wrong plan for subSELECT with GROUP BY
In-Reply-To: <23992.1147442716@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