@@ -819,8 +819,8 @@ gin_debug_jsonpath_internal(FunctionCallInfo fcinfo,
819
819
if (PG_GETARG_BOOL (4 ))
820
820
optimize |= optSelectivity ;
821
821
822
- root = extractJsonPath (jp , exists , arrayPathItems , optimize ,
823
- makeHandler , checkHandler , extra );
822
+ root = extractJsonPathQuery (jp , exists , arrayPathItems , optimize ,
823
+ makeHandler , checkHandler , extra );
824
824
s = debugExtractedQuery (root );
825
825
826
826
return cstring_to_text (s );
@@ -879,13 +879,13 @@ gin_extract_jsonb_query_value_path(PG_FUNCTION_ARGS)
879
879
case JsonpathExistsStrategyNumber :
880
880
case JsonpathMatchStrategyNumber :
881
881
if (strategy != JsQueryMatchStrategyNumber )
882
- root = extractJsonPath (PG_GETARG_JSONPATH_P (0 ),
883
- strategy == JsonpathExistsStrategyNumber ,
884
- false,
885
- optAll ,
886
- make_value_path_entry_handler ,
887
- check_value_path_entry_handler ,
888
- (Pointer )& e );
882
+ root = extractJsonPathQuery (PG_GETARG_JSONPATH_P (0 ),
883
+ strategy == JsonpathExistsStrategyNumber ,
884
+ false,
885
+ optAll ,
886
+ make_value_path_entry_handler ,
887
+ check_value_path_entry_handler ,
888
+ (Pointer ) & e );
889
889
else
890
890
#endif
891
891
root = extractJsQuery (PG_GETARG_JSQUERY (0 ),
@@ -1381,13 +1381,13 @@ gin_extract_jsonb_query_path_value_internal(FunctionCallInfo fcinfo, bool lax)
1381
1381
case JsonpathExistsStrategyNumber :
1382
1382
case JsonpathMatchStrategyNumber :
1383
1383
if (strategy != JsQueryMatchStrategyNumber )
1384
- root = extractJsonPath (PG_GETARG_JSONPATH_P (0 ),
1385
- strategy == JsonpathExistsStrategyNumber ,
1386
- !lax ,
1387
- optAll ,
1388
- make_path_value_entry_handler ,
1389
- check_path_value_entry_handler ,
1390
- (Pointer ) & extra );
1384
+ root = extractJsonPathQuery (PG_GETARG_JSONPATH_P (0 ),
1385
+ strategy == JsonpathExistsStrategyNumber ,
1386
+ !lax ,
1387
+ optAll ,
1388
+ make_path_value_entry_handler ,
1389
+ check_path_value_entry_handler ,
1390
+ (Pointer ) & extra );
1391
1391
else
1392
1392
#endif
1393
1393
root = extractJsQuery (PG_GETARG_JSQUERY (0 ),
0 commit comments