1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Fix assorted carelessness about Datum vs. int64 vs. uint64

Bugs introduced by commit 81c5e46c49
This commit is contained in:
Robert Haas
2017-09-01 00:13:25 -04:00
parent 0d9506d125
commit 7b69b6ceb8
4 changed files with 8 additions and 6 deletions

View File

@ -4084,7 +4084,7 @@ hash_array_extended(PG_FUNCTION_ARGS)
{
/* Apply the hash function */
locfcinfo.arg[0] = elt;
locfcinfo.arg[1] = seed;
locfcinfo.arg[1] = Int64GetDatum(seed);
locfcinfo.argnull[0] = false;
locfcinfo.argnull[1] = false;
locfcinfo.isnull = false;