[GENERAL] Why there are TRANS_START and TRANS_INPROGRESS

2013-10-22 Thread DT
Hi, I'm reading code of xact.c, and I found the only difference between TRANS_START and TRANS_INPROGRESS is when transaction aborts in TRANS_START status we set status to TRANS_INPROGRESS so AbortTransaction() will not report WARNING. So I wonder to know the reason why we distinguish

Re: [GENERAL] Why there are TRANS_START and TRANS_INPROGRESS

2013-10-22 Thread Albe Laurenz
DT wrote: I'm reading code of xact.c, and I found the only difference between TRANS_START and TRANS_INPROGRESS is when transaction aborts in TRANS_START status we set status to TRANS_INPROGRESS so AbortTransaction() will not report WARNING. So I wonder to know the reason why we distinguish