Re: BUG #19409: Function jsonb_strip_nulls() changed from immutable to stable.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: lucio.chiessi@trustly.com, pgsql-bugs@lists.postgresql.org,
Florents Tselai <florents.tselai@gmail.com>
Date: 2026-02-16T16:48:19Z
Lists: pgsql-bugs
Andrew Dunstan <andrew@dunslane.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
Commits
-
Simplify creation of built-in functions with default arguments.
- 759b03b24ce9 19 (unreleased) landed
-
Fix the volatility setting of json{b}_strip_nulls
- 2f6ee7b389c2 18.3 landed