Re: json_build* volatility error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: json_build* volatility error
Date: 2014-07-15 15:14:48
Message-ID: 17615.1405437288@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2014-07-15 15:21:20 Re: SSL compression info in psql header
Previous Message Andrew Dunstan 2014-07-15 15:02:14 json_build* volatility error