| From: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
|---|---|
| To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Nested CASE-WHEN scoping |
| Date: | 2011-06-16 20:27:00 |
| Message-ID: | 4DFA6714.2070609@enterprisedb.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 16.06.2011 22:46, Pavel Stehule wrote:
> I have a query - should be ExpressionParam used for removing a
> multiple function call when composite result is expanded?
>
> With some similar optimization a SELECT (fce(x)).* FROM tab will be optimal
Hmm, I don't think it will work as is for that purpose, as each
targetlist item is a separate expression, and ExpressionParams only work
within an expression.
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alexey Klyukin | 2011-06-16 20:34:49 | Re: proposal: a validator for configuration files |
| Previous Message | Peter Eisentraut | 2011-06-16 20:07:32 | Re: Boolean operators without commutators vs. ALL/ANY |