Re: New feature: accumulative functions. - Mailing list pgsql-general

From Tom Lane
Subject Re: New feature: accumulative functions.
Date
Msg-id 1279.1316966926@sss.pgh.pa.us
Whole thread Raw
In response to New feature: accumulative functions.  (pasman pasmański <pasman.p@gmail.com>)
Responses Re: New feature: accumulative functions.
List pgsql-general
=?ISO-8859-2?Q?pasman_pasma=F1ski?= <pasman.p@gmail.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Alter column...using failure under 9.0.4
Next
From: "Edson Carlos Ericksson Richter"
Date:
Subject: RES: Alter column...using failure under 9.0.4