mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Fix inconsistencies and style issues in new SQL/JSON code
Reported by Alexander Lakhin. Discussion: https://postgr.es/m/60483139-5c34-851d-baee-6c0d014e1710@gmail.com
This commit is contained in:
@ -4479,10 +4479,7 @@ ExecEvalJsonConstructor(ExprState *state, ExprEvalStep *op,
|
||||
jcstate->constructor->absent_on_null,
|
||||
jcstate->constructor->unique);
|
||||
else
|
||||
{
|
||||
res = (Datum) 0;
|
||||
elog(ERROR, "invalid JsonConstructorExpr type %d", ctor->type);
|
||||
}
|
||||
|
||||
*op->resvalue = res;
|
||||
*op->resnull = isnull;
|
||||
|
Reference in New Issue
Block a user