@@ -452,13 +452,13 @@ make_gin_query_key_minus_inf(uint32 hash)
452452}
453453
454454static bool
455- check_bloom_entry_handler (ExtractedNode * node ,Pointer extra )
455+ check_value_path_entry_handler (ExtractedNode * node ,Pointer extra )
456456{
457457return true;
458458}
459459
460460static int
461- make_bloom_entry_handler (ExtractedNode * node ,Pointer extra )
461+ make_value_path_entry_handler (ExtractedNode * node ,Pointer extra )
462462{
463463Entries * e = (Entries * )extra ;
464464uint32 hash ;
@@ -641,7 +641,7 @@ gin_compare_partial_jsonb_value_path(PG_FUNCTION_ARGS)
641641}
642642
643643static Datum *
644- gin_extract_jsonb_bloom_value_internal (Jsonb * jb ,int32 * nentries ,uint32 * * bloom )
644+ gin_extract_jsonb_value_path_internal (Jsonb * jb ,int32 * nentries ,uint32 * * bloom )
645645{
646646int total = 2 * JB_ROOT_COUNT (jb );
647647JsonbIterator * it ;
@@ -730,7 +730,7 @@ gin_extract_jsonb_value_path(PG_FUNCTION_ARGS)
730730Jsonb * jb = PG_GETARG_JSONB (0 );
731731int32 * nentries = (int32 * )PG_GETARG_POINTER (1 );
732732
733- PG_RETURN_POINTER (gin_extract_jsonb_bloom_value_internal (jb ,nentries ,NULL ));
733+ PG_RETURN_POINTER (gin_extract_jsonb_value_path_internal (jb ,nentries ,NULL ));
734734}
735735
736736Datum
@@ -741,8 +741,8 @@ gin_debug_query_value_path(PG_FUNCTION_ARGS)
741741char * s ;
742742
743743jq = PG_GETARG_JSQUERY (0 );
744- s = debugJsQuery (jq ,make_bloom_entry_handler ,
745- check_bloom_entry_handler , (Pointer )& e );
744+ s = debugJsQuery (jq ,make_value_path_entry_handler ,
745+ check_value_path_entry_handler , (Pointer )& e );
746746PG_RETURN_TEXT_P (cstring_to_text (s ));
747747}
748748
@@ -766,12 +766,12 @@ gin_extract_jsonb_query_value_path(PG_FUNCTION_ARGS)
766766{
767767case JsonbContainsStrategyNumber :
768768jb = PG_GETARG_JSONB (0 );
769- entries = gin_extract_jsonb_bloom_value_internal (jb ,nentries ,NULL );
769+ entries = gin_extract_jsonb_value_path_internal (jb ,nentries ,NULL );
770770break ;
771771
772772case JsonbNestedContainsStrategyNumber :
773773jb = PG_GETARG_JSONB (0 );
774- entries = gin_extract_jsonb_bloom_value_internal (jb ,nentries ,& bloom );
774+ entries = gin_extract_jsonb_value_path_internal (jb ,nentries ,& bloom );
775775
776776n = * nentries ;
777777* pmatch = (bool * )palloc (sizeof (bool )* n );
@@ -785,8 +785,8 @@ gin_extract_jsonb_query_value_path(PG_FUNCTION_ARGS)
785785
786786case JsQueryMatchStrategyNumber :
787787jq = PG_GETARG_JSQUERY (0 );
788- root = extractJsQuery (jq ,make_bloom_entry_handler ,
789- check_bloom_entry_handler , (Pointer )& e );
788+ root = extractJsQuery (jq ,make_value_path_entry_handler ,
789+ check_value_path_entry_handler , (Pointer )& e );
790790if (root )
791791{
792792* nentries = e .count ;
@@ -958,7 +958,7 @@ get_query_path_hash(PathItem *pathItem, uint32 *hash)
958958}
959959
960960static bool
961- check_hash_entry_handler (ExtractedNode * node ,Pointer extra )
961+ check_path_value_entry_handler (ExtractedNode * node ,Pointer extra )
962962{
963963uint32 hash ;
964964hash = 0 ;
@@ -968,7 +968,7 @@ check_hash_entry_handler(ExtractedNode *node, Pointer extra)
968968}
969969
970970static int
971- make_hash_entry_handler (ExtractedNode * node ,Pointer extra )
971+ make_path_value_entry_handler (ExtractedNode * node ,Pointer extra )
972972{
973973Entries * e = (Entries * )extra ;
974974uint32 hash ;
@@ -1073,7 +1073,7 @@ gin_compare_partial_jsonb_path_value(PG_FUNCTION_ARGS)
10731073}
10741074
10751075static Datum *
1076- gin_extract_jsonb_hash_value_internal (Jsonb * jb ,int32 * nentries )
1076+ gin_extract_jsonb_path_value_internal (Jsonb * jb ,int32 * nentries )
10771077{
10781078int total = 2 * JB_ROOT_COUNT (jb );
10791079JsonbIterator * it ;
@@ -1159,7 +1159,7 @@ gin_extract_jsonb_path_value(PG_FUNCTION_ARGS)
11591159Jsonb * jb = PG_GETARG_JSONB (0 );
11601160int32 * nentries = (int32 * )PG_GETARG_POINTER (1 );
11611161
1162- PG_RETURN_POINTER (gin_extract_jsonb_hash_value_internal (jb ,nentries ));
1162+ PG_RETURN_POINTER (gin_extract_jsonb_path_value_internal (jb ,nentries ));
11631163}
11641164
11651165Datum
@@ -1170,8 +1170,8 @@ gin_debug_query_path_value(PG_FUNCTION_ARGS)
11701170char * s ;
11711171
11721172jq = PG_GETARG_JSQUERY (0 );
1173- s = debugJsQuery (jq ,make_hash_entry_handler ,
1174- check_hash_entry_handler , (Pointer )& e );
1173+ s = debugJsQuery (jq ,make_path_value_entry_handler ,
1174+ check_path_value_entry_handler , (Pointer )& e );
11751175PG_RETURN_TEXT_P (cstring_to_text (s ));
11761176}
11771177
@@ -1194,13 +1194,13 @@ gin_extract_jsonb_query_path_value(PG_FUNCTION_ARGS)
11941194{
11951195case JsonbContainsStrategyNumber :
11961196jb = PG_GETARG_JSONB (0 );
1197- entries = gin_extract_jsonb_hash_value_internal (jb ,nentries );
1197+ entries = gin_extract_jsonb_path_value_internal (jb ,nentries );
11981198break ;
11991199
12001200case JsQueryMatchStrategyNumber :
12011201jq = PG_GETARG_JSQUERY (0 );
1202- root = extractJsQuery (jq ,make_hash_entry_handler ,
1203- check_hash_entry_handler , (Pointer )& e );
1202+ root = extractJsQuery (jq ,make_path_value_entry_handler ,
1203+ check_path_value_entry_handler , (Pointer )& e );
12041204if (root )
12051205{
12061206* nentries = e .count ;