We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c97ab9 commit cdfbb78Copy full SHA for cdfbb78
src/backend/utils/adt/jsonfuncs.c
@@ -958,6 +958,8 @@ each_worker(PG_FUNCTION_ARGS, bool as_text)
958
959
pg_parse_json(lex, sem);
960
961
+ MemoryContextDelete(state->tmp_cxt);
962
+
963
rsi->setResult = state->tuple_store;
964
rsi->setDesc = state->ret_tdesc;
965
@@ -1125,6 +1127,8 @@ json_array_elements(PG_FUNCTION_ARGS)
1125
1127
1126
1128
1129
1130
1131
1132
1133
1134
0 commit comments