Shouldn't the comment read "If first time through"?
/* * If not first time through, get workspace to remember main XIDs in. We * malloc it permanently to avoid repeated
palloc/pfreeoverhead. */if (xids == NULL){
... xids = (TransactionId *) malloc(maxxids * sizeof(TransactionId));
--
Jim C. Nasby, Database Architect jim@nasby.net
512.569.9461 (cell) http://jim.nasby.net