Re: json function volatility

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: json function volatility
Дата
Msg-id 20141017205948.GD7246@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: json function volatility  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: json function volatility
Список pgsql-hackers
Merlin Moncure wrote:
> On Fri, Oct 17, 2014 at 3:03 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
> > Following up something Pavel wrote, I notice that json_agg() and
> > json_object_agg() are both marked as immutable, even though they invoke IO
> > functions, while json_object is marked stable, even though it does not, and
> > can probably be marked as immutable. Mea maxima culpa.
> >
> > I'm not sure what we should do about these things now. Is it a tragedy if we
> > let these escape into the 9.4 release that way?
> 
> Is it too late to change them?

One thing to consider is the catversion bump, which we don't want this
late in the cycle.  Still, you could change the catalogs but not the
version, and advise those with the older definitions to tweak the
catalogs by hand if they need it.  I think we did this once.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: json function volatility
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Materialized views don't show up in information_schema