From: glyn Date: Sun, 8 Mar 2015 16:35:45 +0000 (+0000) Subject: Raise an error if un implemented append function called. X-Git-Url: https://git.8kb.co.uk/?p=postgresql%2Fpg_jsonb_opx;a=commitdiff_plain Raise an error if un implemented append function called. --- diff --git a/jsonb_opx.c b/jsonb_opx.c index 5627d95..5ad8215 100755 --- a/jsonb_opx.c +++ b/jsonb_opx.c @@ -839,7 +839,8 @@ jsonb_append_path(PG_FUNCTION_ARGS) /* pointer to return jsonb data */ Jsonb *return_jsonb = NULL; - return_jsonb = jsonbModifyPath(input_jsonb_a, input_array, input_jsonb_b); + elog(ERROR, "not implemented"); + //return_jsonb = jsonbModifyPath(input_jsonb_a, input_array, input_jsonb_b, true); PG_FREE_IF_COPY(input_jsonb_a, 0); PG_FREE_IF_COPY(input_array, 1);