Commit 1891b415 authored by Tom Lane's avatar Tom Lane

Fix some more confusion between uint32 and Datum.

parent 348aa75a
...@@ -548,7 +548,7 @@ gin_extract_jsonb_hash(PG_FUNCTION_ARGS) ...@@ -548,7 +548,7 @@ gin_extract_jsonb_hash(PG_FUNCTION_ARGS)
case WJB_VALUE: case WJB_VALUE:
/* Element/value case */ /* Element/value case */
JsonbHashScalarValue(&v, &stack->hash); JsonbHashScalarValue(&v, &stack->hash);
entries[i++] = stack->hash; entries[i++] = UInt32GetDatum(stack->hash);
break; break;
case WJB_END_ARRAY: case WJB_END_ARRAY:
case WJB_END_OBJECT: case WJB_END_OBJECT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment