]> git.8kb.co.uk Git - postgresql/pg_jsonb_opx/commitdiff
Raise an error if un implemented append function called. master
authorglyn <glyn@8kb.co.uk>
Sun, 8 Mar 2015 16:35:45 +0000 (16:35 +0000)
committerglyn <glyn@8kb.co.uk>
Sun, 8 Mar 2015 16:35:45 +0000 (16:35 +0000)
jsonb_opx.c

index 5627d95d8271392e1a4bb22b2da3a2e3f9750edd..5ad8215aeefe20bdaaa304cd24919df0549fda6d 100755 (executable)
@@ -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);