pgsql: Treat JsonConstructorExpr as non-strict

2025-09-16 Thread Richard Guo
Treat JsonConstructorExpr as non-strict JsonConstructorExpr can produce non-NULL output with a NULL input, so it should be treated as a non-strict construct. Failing to do so can lead to incorrect query behavior. For example, in the reported case, when pulling up a subquery that is under an oute

pgsql: Treat JsonConstructorExpr as non-strict

2025-09-16 Thread Richard Guo
Treat JsonConstructorExpr as non-strict JsonConstructorExpr can produce non-NULL output with a NULL input, so it should be treated as a non-strict construct. Failing to do so can lead to incorrect query behavior. For example, in the reported case, when pulling up a subquery that is under an oute

pgsql: Treat JsonConstructorExpr as non-strict

2025-09-16 Thread Richard Guo
Treat JsonConstructorExpr as non-strict JsonConstructorExpr can produce non-NULL output with a NULL input, so it should be treated as a non-strict construct. Failing to do so can lead to incorrect query behavior. For example, in the reported case, when pulling up a subquery that is under an oute

pgsql: Treat JsonConstructorExpr as non-strict

2025-09-16 Thread Richard Guo
Treat JsonConstructorExpr as non-strict JsonConstructorExpr can produce non-NULL output with a NULL input, so it should be treated as a non-strict construct. Failing to do so can lead to incorrect query behavior. For example, in the reported case, when pulling up a subquery that is under an oute