Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> writes:
> The problem seems to be when the the old and the key hash to the same
> bucket. In that case, hash_update_hash_key() tries to link the entry to
> itself. The attached patch fixes it for me.
Doh! I had a feeling that that needed a special case, but didn't think
hard enough. Thanks.
I think the patch could do with more than no comment, but will fix
that and apply.
regards, tom lane