Alvaro Herrera wrote:
Heikki Linnakangas wrote:
I couldn't let this case go, so I wrote a patch. I replaced the linked
list with an array that's enlarged at AtSubCommit_childXids when
Do you still need to palloc the return value from
xactGetCommittedChildren? Perhaps you can save the palloc/memcpy/pfree
and just return the pointer to the array already in memory?
Yeah, good point. The callers just need to be modified not to pfree it.
Sent via pgsql-patches mailing list (firstname.lastname@example.org)
To make changes to your subscription: