aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2014-05-06 22:49:32 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2014-05-06 22:49:40 -0400
commit2c22afaa4e29cbd773bae3f043a941f82ff30e2d (patch)
treee921c56e5f4e403d049c876aeb1e080f6c395334 /src/backend/executor
parent35c0cd3b05b0be18dc2d049c33b38a2d13993ffe (diff)
downloadpostgresql-2c22afaa4e29cbd773bae3f043a941f82ff30e2d.tar.gz
postgresql-2c22afaa4e29cbd773bae3f043a941f82ff30e2d.zip
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.
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions