Pavan Deolasee wrote:
> Wait. Subtransaction ids are local to a transaction and always start from 1.
> See this:
>
> /*
> * reinitialize within-transaction counters
> */
> s->subTransactionId = TopSubTransactionId;
> currentSubTransactionId = TopSubTransactionId;
No, we're not talking about SubTransactionIds. We're talking about real
XIDs assigned to subtransactions. Subtransactions are assigned regular
XIDs as well, just like top-level transactions.
I can see where you were coming from with you suggestion now :-).
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com