pgsql: json_build_object and json_build_array are stable, not immutable

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: json_build_object and json_build_array are stable, not immutable
Date: 2014-07-15 18:33:18
Message-ID: E1X77XS-0000Ld-SU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

json_build_object and json_build_array are stable, not immutable.

These functions indirectly invoke output functions, so they can't be
immutable.

Backpatch to 9.4 where they were introduced.

Catalog version bumped.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/05011b6da5d0318710c272bfe23b84d8adc61332

Modified Files
--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2014-07-15 18:34:00 pgsql: json_build_object and json_build_array are stable, not immutable
Previous Message Tom Lane 2014-07-15 18:15:09 Re: [COMMITTERS] pgsql: Reset master xmin when hot_standby_feedback disabled.