1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-04 20:11:56 +03:00

Revert recent SQL/JSON related commits

Reverts c88ce386c4, 5067c230b8, and  e4e27976a6, because a few BF
animals didn't like one or all of them.
This commit is contained in:
Amit Langote
2024-09-06 12:51:26 +09:00
parent e4e27976a6
commit eef5195f30
5 changed files with 15 additions and 82 deletions

View File

@@ -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;