From adb985a8c3192e2577bf7ef863560baf4e566c5e Mon Sep 17 00:00:00 2001 From: glyn Date: Sun, 8 Mar 2015 16:35:45 +0000 Subject: [PATCH] Raise an error if un implemented append function called. --- jsonb_opx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.39.5