Why there are TRANS_START and TRANS_INPROGRESS

Поиск
Список
Период
Сортировка
От DT
Тема Why there are TRANS_START and TRANS_INPROGRESS
Дата
Msg-id BAY173-W45819B7090FAD69C0D3F38E6020@phx.gbl
обсуждение исходный текст
Ответы Re: Why there are TRANS_START and TRANS_INPROGRESS  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список 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 по дате отправления:

Предыдущее
От: Torsten Förtsch
Дата:
Сообщение: Re: locks held during commit with synchronous replication
Следующее
От: Albe Laurenz
Дата:
Сообщение: Re: Why there are TRANS_START and TRANS_INPROGRESS