Attached patch adds DatumGetUInt32() around the hash_any() andhash_uint32() calls within varlena.c. These should have been in theoriginal abbreviated keys commit. Mea culpa.
-- Peter Geoghegan