git.postgresql.org Git - postgresql.git/commit
Wed, 7 May 2014 02:49:32 +0000 (22:49 -0400)
Wed, 7 May 2014 02:49:40 +0000 (22:49 -0400)
commit 2c22afaa4e29cbd773bae3f043a941f82ff30e2d
hash_any returns Datum, not uint32 (and definitely not "int").
The coding in JsonbHashScalarValue might have accidentally failed to fail
given current representational choices, but the key word there would be
"accidental". Insert the appropriate datatype conversion macro. And
use the right conversion macro for hash_numeric's result, too.
In passing make the code a bit cleaner and less repetitive by factoring
out the xor step from the switch.
This is the main PostgreSQL git repository.
RSS
Atom