]> git.8kb.co.uk Git - postgresql/pg_jsonb_opx/blobdiff - jsonb_opx.c
Rename misspelt sql script
[postgresql/pg_jsonb_opx] / jsonb_opx.c
index 43f3cbf30c36a402d17aadeb4a947cd83d7fe21c..d2c498c49f77b1c3e3a8632ee06d3cec49a914d8 100755 (executable)
@@ -37,11 +37,11 @@ Datum
 jsonb_delete_text(PG_FUNCTION_ARGS)
 {
     /* general loops */
-       int i;
+    int i;
 
     /* pointers to incoming jsonb and text[] data */
     Jsonb *input_jsonb = PG_GETARG_JSONB(0);
-       ArrayType *input_array = PG_GETARG_ARRAYTYPE_P(1);
+    ArrayType *input_array = PG_GETARG_ARRAYTYPE_P(1);
     
     /* pointers to return jsonb_value data and state to be converted to jsonb on return */
     JsonbParseState *state = NULL;
@@ -59,10 +59,10 @@ jsonb_delete_text(PG_FUNCTION_ARGS)
     int32 nest_level = 0;
     int32 array_level = 0;
 
-       /* array element variables for use during deconstruction */
-       Datum *datums;
-       bool *nulls;
-       int32 count;
+    /* array element variables for use during deconstruction */
+    Datum *datums;
+    bool *nulls;
+    int32 count;
 
     /* individual array values values from incoming text[] */
     text *array_element_text;