Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> (Well, it changes an ad-hoc linked
> list into a proper List).
Why? AFAICT that just makes the code bigger, uglier, and slower ...
I am pretty dubious of PendingDeletesBeginXact, too, and of moving this
list out of TopMemoryContext. Please justify.
regards, tom lane