mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Revert recent SQL/JSON related commits
Reverts68222851d5
,565caaa79a
, and3a97460970
, because a few BF animals didn't like one or all of them.
This commit is contained in:
@ -4603,13 +4603,13 @@ transformJsonFuncExpr(ParseState *pstate, JsonFuncExpr *func)
|
||||
}
|
||||
|
||||
/*
|
||||
* Assume EMPTY ARRAY ON ERROR when ON ERROR is not specified.
|
||||
* Assume EMPTY ON ERROR when ON ERROR is not specified.
|
||||
*
|
||||
* ON EMPTY cannot be specified at the top level but it can be for
|
||||
* the individual columns.
|
||||
*/
|
||||
jsexpr->on_error = transformJsonBehavior(pstate, func->on_error,
|
||||
JSON_BEHAVIOR_EMPTY_ARRAY,
|
||||
JSON_BEHAVIOR_EMPTY,
|
||||
jsexpr->returning);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user