Luca Ferrari <fluca1...@gmail.com> writes:
> I'm exploring DTrace, and I thought that LocalTransactionId as
> described in <https://www.postgresql.org/docs/12/dynamic-trace.html>
> would have a relationship with txid_current(),

It does not.  txid_current returns a globally valid transaction ID,
while local transaction IDs are just taken from a counter within
the session and have no meaning to other sessions.

                        regards, tom lane


Reply via email to