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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [COMMITTERS] pgsql: Add generate_subscripts, a series-generation function which
Дата
Msg-id 20080429022231.GK5761@alvh.no-ip.org
обсуждение исходный текст
Ответы Re: [COMMITTERS] pgsql: Add generate_subscripts, a series-generation function which
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления: