Use latestCompletedXid to slightly optimize TransactionIdIsInProgress - Mailing list pgsql-patches

From Florian G. Pflug
Subject Use latestCompletedXid to slightly optimize TransactionIdIsInProgress
Date
Msg-id 46E827C9.2020803@phlo.org
Whole thread Raw
Responses Re: Use latestCompletedXid to slightly optimize TransactionIdIsInProgress  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Hi

Since we already advance latestCompletedXid on subtransaction and toplevel
transaction aborts, we might as well use the value to rule out surely
in-progress transctions at the top of TransactionIdIsInProgress.

greetings, Florian Pflug

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: HOT documentation README
Next
From: Bruce Momjian
Date:
Subject: Re: actualised forgotten Magnus's patch for plpgsql MOVE statement