Andrew Dunstan <andrew@dunslane.net> writes:
> The case below has just been reported to me. It sure looks odd. I'm
> looking into it but any ideas would be welcome. The problem only occurs
> if we are updating more than one row.
Pfree'ing something you didn't palloc is bad news...
regards, tom lane