index 2f87255c47008270c01852a71c687032ca34f435..56a531de8db59471127ecbc7efce2b302466d45c 100644 (file)
@@ -4276,6 +4276,7 @@ transformJsonFuncExpr(ParseState *pstate, JsonFuncExpr *func)
break;
default:
elog(ERROR, "invalid JsonFuncExpr op %d", (int) func->op);
+ default_format = JS_FORMAT_DEFAULT; /* keep compiler quiet */
break;
}