pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Revert "make immutability tests in to_json and to_jsonb complete 2+ messages / 1 participants [nested] [flat]
* pgsql: Revert "make immutability tests in to_json and to_jsonb complete @ 2026-11-06 19:49 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 2+ messages in thread From: Andrew Dunstan @ 2026-11-06 19:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Revert "make immutability tests in to_json and to_jsonb complete" This reverts commit ecd9288624a. Expression indexes, generated columns and partition keys created with the reverted patch in place that depend on its behavior are not removed, but a dump and restore or a pg_upgrade will now fail to recreate them. They need to be dropped or redefined before upgrading. Discussion: https://postgr.es/m/179372513496.2500379.6217138376932454060@gmail.com Discussion: https://postgr.es/m/CA+TgmoaiothgQrw9OtgsMzBUCnqJ2jdaGTbS6o3fkjCd+LfzWw@mail.gmail.com Backpatch-through: 19 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b58a9a97fe783c8ce897fa1a5da23c59234aa6bf Modified Files -------------- src/backend/utils/adt/json.c | 38 +++++++- src/backend/utils/adt/jsonb.c | 38 +++++++- src/backend/utils/adt/jsonfuncs.c | 105 ---------------------- src/include/utils/jsonfuncs.h | 2 - src/test/regress/expected/sqljson.out | 165 ---------------------------------- src/test/regress/sql/sqljson.sql | 89 ------------------ 6 files changed, 70 insertions(+), 367 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Revert "make immutability tests in to_json and to_jsonb complete @ 2026-11-06 19:49 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 2+ messages in thread From: Andrew Dunstan @ 2026-11-06 19:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Revert "make immutability tests in to_json and to_jsonb complete" This reverts commit ecd9288624a. Expression indexes, generated columns and partition keys created with the reverted patch in place that depend on its behavior are not removed, but a dump and restore or a pg_upgrade will now fail to recreate them. They need to be dropped or redefined before upgrading. Discussion: https://postgr.es/m/179372513496.2500379.6217138376932454060@gmail.com Discussion: https://postgr.es/m/CA+TgmoaiothgQrw9OtgsMzBUCnqJ2jdaGTbS6o3fkjCd+LfzWw@mail.gmail.com Backpatch-through: 19 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4b80cba35a1507a65f3f9a7d10f76ef48225bb98 Modified Files -------------- src/backend/utils/adt/json.c | 38 +++++++- src/backend/utils/adt/jsonb.c | 38 +++++++- src/backend/utils/adt/jsonfuncs.c | 105 ---------------------- src/include/utils/jsonfuncs.h | 2 - src/test/regress/expected/sqljson.out | 165 ---------------------------------- src/test/regress/sql/sqljson.sql | 89 ------------------ 6 files changed, 70 insertions(+), 367 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-11-06 19:49 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-11-06 19:49 pgsql: Revert "make immutability tests in to_json and to_jsonb complete Andrew Dunstan <andrew@dunslane.net> 2026-11-06 19:49 pgsql: Revert "make immutability tests in to_json and to_jsonb complete Andrew Dunstan <andrew@dunslane.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox