Tom Lane wrote:
> alvherre@postgresql.org (Alvaro Herrera) writes:
> > Add generate_subscripts, a series-generation function which generates an
> > array's subscripts.
>
> Why are these marked volatile in pg_proc? Surely they generate the
> same outputs given the same inputs, and therefore qualify as immutable.
Hmm, true.
I'll change the four generate_series variants too -- they are marked
volatile as well.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support