Re: BUG #18657: Using JSON_OBJECTAGG with volatile function leads to segfault
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Langote <amitlangote09@gmail.com>
Cc: Tender Wang <tndrwang@gmail.com>, Michael Paquier <michael@paquier.xyz>,
exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2024-10-19T16:05:57Z
Lists: pgsql-bugs
Amit Langote <amitlangote09@gmail.com> writes: > Updated patch attached. v8 is OK by me. Personally I would not bother with the Asserts that raw_expr/formatted_expr are not null, in either place; the code doesn't actually depend on that, and IMO it's inconsistent with the style of surrounding code. But that's not a hill to die on. regards, tom lane
Commits
-
SQL/JSON: Fix some oversights in commit b6e1157e7
- 7148cb3e3067 17.1 landed
- fa4f11854c8b 16.5 landed
- 11c87216d134 18.0 landed
-
Don't include CaseTestExpr in JsonValueExpr.formatted_expr
- b6e1157e7d33 17.0 cited