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
In response to
pgsql-hackers by date
|Next:||From: Abhijit Menon-Sen||Date: 2013-01-15 03:12:28|
|Subject: Re: logical changeset generation v4|
|Previous:||From: Vlad Arkhipov||Date: 2013-01-15 02:38:11|
|Subject: Re: Get current query in a trigger function|