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/?a=commitdiff_plain;h=adb985a8c3192e2577bf7ef863560baf4e566c5e;p=postgresql%2Fpg_jsonb_opx 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);