json_build* volatility error
json_build* volatility error
От:
Andrew Dunstan <andrew@dunslane.net>
Дата:
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. I think we need to fix this for 9.4. It will mean a catalog bump :-( cheers andrew
Re: json_build* volatility error
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Andrew Dunstan 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