Re: json_build* volatility error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: json_build* volatility error
Дата
Msg-id 17615.1405437288@sss.pgh.pa.us
обсуждение исходный текст
Ответ на json_build* volatility error  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: json_build* volatility error  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I have just noticed that I inadvertently marked the json_build* 
> functions as immutable. That seems to be a plain error, as, for example, 
> timestamptz output will not be immutable.

Ah, yes, our convention is that anything depending on datatype I/O
functions is to be marked stable.

> I think we need to fix this 
> for 9.4. It will mean a catalog bump :-(

Agreed.
        regards, tom lane



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: json_build* volatility error
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: SSL compression info in psql header