Re: BUG #19409: Function jsonb_strip_nulls() changed from immutable to stable.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: lucio(dot)chiessi(at)trustly(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org, Florents Tselai <florents(dot)tselai(at)gmail(dot)com>
Subject: Re: BUG #19409: Function jsonb_strip_nulls() changed from immutable to stable.
Date: 2026-02-16 16:48:19
Message-ID: 1133169.1771260499@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> In penance for this I have worked up a mechanism to generate
> default-setting statements from pg_proc.dat that I will post separately
> about in -hackers. In the meantime, I guess we should fix it in release
> 18 and master, with a release note that people might need to do a manual
> update if affected, along the lines of
>    update pg_proc set provolatile = 'i' where oid in (3261,3262);

Yeah, the $64 question is what to do in REL_18_STABLE. In master
we can commit this with a catversion bump, but we can't change
v18's catversion. I think I agree that we should just change v18's
system_functions.sql anyway. That will at least solve it for people
upgrading in future.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2026-02-16 18:21:45 Re: BUG #19406: substring(text) fails on valid UTF-8 toasted value in PostgreSQL 15.16
Previous Message Andrew Dunstan 2026-02-16 16:18:28 Re: BUG #19409: Function jsonb_strip_nulls() changed from immutable to stable.