Re: BUG #19046: Incorrect result when using json_array() with column reference in subquery combined with RIGHT JOIN
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Tender Wang <tndrwang@gmail.com>, runyuan@berkeley.edu,
pgsql-bugs@lists.postgresql.org
Date: 2025-09-11T03:16:33Z
Lists: pgsql-bugs
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Treat JsonConstructorExpr as non-strict
- 62397bb1893b 16.11 landed
- d719e2ecb188 17.7 landed
- d29a3f4b46a0 18.0 landed
- b63a82245215 19 (unreleased) landed
-
Avoid inserting PlaceHolderVars in cases where pre-v16 PG did not.
- cb8e50a4a09f 18.0 cited
Richard Guo <guofenglinux@gmail.com> writes: > I tested JsonExpr, which is the representation of json_value, > json_query and json_exists. It seems that they could not produce > non-NULL output with a NULL input. So we are good on that front. Seems like we ought to actually look at the relevant code, not try to test our way to an understanding of it. regards, tom lane