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 > necessary.
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? Not that it'll any much of a performance impact, but just for cleanliness :-) -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support -- Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-patches