Re: New feature: accumulative functions.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pasman pasmański <pasman(dot)p(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: New feature: accumulative functions.
Date: 2011-09-25 16:08:46
Message-ID: 1279.1316966926@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?ISO-8859-2?Q?pasman_pasma=F1ski?= <pasman(dot)p(at)gmail(dot)com> writes:
> I propose to add "accumulative" flag to a function definition. This
> flag would be set for function f(x) which is accumulative and
> immutable.

Maybe you'd better define what you mean by "accumulative" ...

> This flag allows to use an index on x for clauses containing f(x):
> where f(x) = const
> where f(x) > const

... because it's sure not clear how you would get that to work.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edson Carlos Ericksson Richter 2011-09-25 16:19:19 RES: Alter column...using failure under 9.0.4
Previous Message Tom Lane 2011-09-25 16:04:29 Re: Alter column...using failure under 9.0.4