Re: pgsql: Add generate_subscripts, a series-generation function which

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add generate_subscripts, a series-generation function which
Date: 2008-04-28 23:34:23
Message-ID: 19433.1209425663@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

alvherre(at)postgresql(dot)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.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-04-28 23:48:16 pgsql: Increase the statement_timeout value used in the prepared_xacts
Previous Message Bruce Momjian 2008-04-28 23:08:33 pgsql: Update comment for 8.4: > #A hyphen, "-", marks changes that

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-04-28 23:48:16 pgsql: Increase the statement_timeout value used in the prepared_xacts
Previous Message Sam Mason 2008-04-28 23:15:44 Re: Protection from SQL injection