From: Neil Conway <neilc@samurai.com>
To: Bruno Wolff III <bruno@wolff.to>
Cc: Keith Worthington <KeithW@NarrowPathInc.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: View vs function
Date: Mon, 21 Mar 2005 16:13:09 +1100
Message-ID: <423E57E5.4070405@samurai.com> (raw)
In-Reply-To: <20050321042720.GA27098@wolff.to>
References: <423E420D.1020503@NarrowPathInc.com>
<20050321042720.GA27098@wolff.to>
Bruno Wolff III wrote:
> Functions are just black boxes to the planner.
... unless the function is a SQL function that is trivial enough for the
planner to inline it into the plan of the invoking query. Currently, we
won't inline set-returning SQL functions that are used in the query's
rangetable, though. This would be worth doing, I think -- I'm not sure
how much work it would be, though.
-Neil
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: neilc@samurai.com, bruno@wolff.to, KeithW@NarrowPathInc.com
Subject: Re: View vs function
In-Reply-To: <423E57E5.4070405@samurai.com>
* 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