From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Performance inside and outside view ( WAS Re: Select the max on a field )
Date: Thu, 12 Sep 2002 10:50:23 -0400
Message-ID: <7350.1031842223@sss.pgh.pa.us> (raw)
In-Reply-To: <alq8f1$8rj$1@news.hub.org>
References: <20020912065516.L45340-100000@megazone23.bigpanda.com>
<alq8f1$8rj$1@news.hub.org>
"Gaetano Mendola" <mendola@bigfoot.com> writes:
> Yes that's right it's help me,
> but here the optimizer have some problems:
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 ...
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, mendola@bigfoot.com
Subject: Re: Performance inside and outside view ( WAS Re: Select the max on a field )
In-Reply-To: <7350.1031842223@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