Re: json_build* volatility error - Mailing list pgsql-hackers

From Tom Lane
Subject Re: json_build* volatility error
Date
Msg-id 17615.1405437288@sss.pgh.pa.us
Whole thread Raw
In response to json_build* volatility error  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: json_build* volatility error  (Andrew Dunstan <andrew@dunslane.net>)
List 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 by date:

Previous
From: Andrew Dunstan
Date:
Subject: json_build* volatility error
Next
From: Magnus Hagander
Date:
Subject: Re: SSL compression info in psql header