1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-22 23:02:54 +03:00

Fix some more confusion between uint32 and Datum.

This commit is contained in:
Tom Lane 2014-05-06 23:52:30 -04:00
parent 348aa75a67
commit 1891b415f0

View File

@ -548,7 +548,7 @@ gin_extract_jsonb_hash(PG_FUNCTION_ARGS)
case WJB_VALUE:
/* Element/value case */
JsonbHashScalarValue(&v, &stack->hash);
entries[i++] = stack->hash;
entries[i++] = UInt32GetDatum(stack->hash);
break;
case WJB_END_ARRAY:
case WJB_END_OBJECT: