Why there are TRANS_START and TRANS_INPROGRESS - Mailing list pgsql-general

From DT
Subject Why there are TRANS_START and TRANS_INPROGRESS
Date
Msg-id BAY173-W45819B7090FAD69C0D3F38E6020@phx.gbl
Whole thread Raw
Responses Re: Why there are TRANS_START and TRANS_INPROGRESS  (Albe Laurenz <laurenz.albe@wien.gv.at>)
List pgsql-general
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 them?

Thanks.

pgsql-general by date:

Previous
From: Torsten Förtsch
Date:
Subject: Re: locks held during commit with synchronous replication
Next
From: Albe Laurenz
Date:
Subject: Re: Why there are TRANS_START and TRANS_INPROGRESS