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

From pasman pasmański
Subject New feature: accumulative functions.
Date
Msg-id CAOWY8=aNHa_9+T7Uh=NO5q86u+Y292aD_e6Bq6fsBf0WOdrnPA@mail.gmail.com
Whole thread Raw
Responses Re: New feature: accumulative functions.  (David Johnston <polobo@yahoo.com>)
Re: New feature: accumulative functions.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: New feature: accumulative functions.  (Radosław Smogura <rsmogura@softperience.eu>)
List pgsql-general
Hi.

I propose to add "accumulative" flag to a function definition. This
flag would be set for function f(x) which is accumulative and
immutable.

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

where f(x) = const
where f(x) > const

and so on.



--
------------
pasman

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: looking for a faster way to do that
Next
From: David Johnston
Date:
Subject: Re: (another ;-)) PostgreSQL-derived project ...