From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Performance inside and outside view ( WAS Re: Select the
Date: Thu, 12 Sep 2002 14:57:07 -0400
Message-ID: <8920.1031857027@sss.pgh.pa.us> (raw)
In-Reply-To: <20020912081941.L45896-100000@megazone23.bigpanda.com>
References: <20020912081941.L45896-100000@megazone23.bigpanda.com>
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> On Thu, 12 Sep 2002, Tom Lane wrote:
>> What's the datatype of id_user, and why are you quoting the compared
>> constant in some cases but not others? I don't think the difference
>> has anything to do with the view here ...
> At least in current sources it would, since it can't push down the clause
> (unless I'm misreading subquery_is_pushdown_safe and the comment) through
> the distinct on.
Oh, duh, you're right; I'd missed the DISTINCT ON ...
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, sszabo@megazone23.bigpanda.com, mendola@bigfoot.com
Subject: Re: Performance inside and outside view ( WAS Re: Select the
In-Reply-To: <8920.1031857027@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