Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1891b41

Browse files
committed
Fix some more confusion between uint32 and Datum.
1 parent 348aa75 commit 1891b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/adt/jsonb_gin.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ gin_extract_jsonb_hash(PG_FUNCTION_ARGS)
548548
case WJB_VALUE:
549549
/* Element/value case */
550550
JsonbHashScalarValue(&v, &stack->hash);
551-
entries[i++] = stack->hash;
551+
entries[i++] = UInt32GetDatum(stack->hash);
552552
break;
553553
case WJB_END_ARRAY:
554554
case WJB_END_OBJECT:

0 commit comments

Comments
 (0)