SQL/JSON DEFAULT ON ERROR/ON EMPTY evaluation fail should rethrow error unconditionally

Edit
ID 7355
Title SQL/JSON DEFAULT ON ERROR/ON EMPTY evaluation fail should rethrow error unconditionally
CI (CFBot) Needs rebase! Needs rebase since 16 hours. Failing since 16 hours.
Additional links previous successfully applied patch (outdated):
Stats (from CFBot) Unknown
Tags Bugfix
Created 2026-09-28 14:14:01
Last modified 2026-11-01 00:54:29 (1 hour ago)
Latest email 2026-10-29 01:39:22 (3 days ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Committed
Target version stable
Authors Jian He (stayreal)
Reviewers Become reviewer
Committer Amit Langote (amitlan)
Links
Emails
SQL/JSON DEFAULT ON ERROR/ON EMPTY evaluation fail should rethrow error unconditionally
First at 2026-09-16 02:21:20 by jian he <jian.universality at gmail.com>
Latest at 2026-10-29 01:39:22 by Amit Langote <amitlangote09 at gmail.com>
Latest attachment (v4-0002-SQL-JSON-fix-error-handling-when-coercing-to-a-do.patch) at 2026-10-28 10:45:53 from Amit Langote <amitlangote09 at gmail.com>
    Attachment (v4-0002-SQL-JSON-fix-error-handling-when-coercing-to-a-do.patch) at 2026-10-28 10:45:53 from Amit Langote <amitlangote09 at gmail.com> (Patch: No)
    Attachment (v3-0002-SQL-JSON-fix-error-handling-when-coercing-to-a-do.patch) at 2026-10-27 13:21:44 from Amit Langote <amitlangote09 at gmail.com> (Patch: No)
    Attachment (v2-0001-Fix-SQL-JSON-error-handling-after-a-soft-error-ha.patch) at 2026-10-26 12:12:18 from jian he <jian.universality at gmail.com> (Patch: No)
    Attachment (v1-0001-fix-SQL-JSON-DEFAULT-expression-error-rethrow.patch) at 2026-09-16 02:21:20 from jian he <jian.universality at gmail.com> (Patch: No)
History
When Who What
2026-11-01 00:54:29 Jian He (stayreal) Closed in commitfest PG20-3 with status: Committed
2026-11-01 00:54:29 Jian He (stayreal) Changed committer to amitlan
2026-10-31 09:33:29 CFbot Patch needs rebase
2026-09-28 14:14:01 Jian He (stayreal) Attached mail thread CACJufxHDK39zF+1zZF6prH_wtn1SDt74_mrqYk1Oo82cCu44ng@mail.gmail.com
2026-09-28 14:14:01 Jian He (stayreal) Created patch record
Edit