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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy