Ignore 2PC transaction GIDs in query jumbling - Mailing list pgsql-hackers

From Michael Paquier
Subject Ignore 2PC transaction GIDs in query jumbling
Date
Msg-id ZMhT9kNtJJsHw6jK@paquier.xyz
Whole thread Raw
Responses Re: Ignore 2PC transaction GIDs in query jumbling
List pgsql-hackers
Hi all,

31de7e6 has silenced savepoint names in the query jumbling, and
something similar can be done for 2PC transactions once the GID is
ignored in TransactionStmt.  This leads to the following grouping in
pg_stat_statements, for instance, which is something that matters with
workloads that heavily rely on 2PC:
COMMIT PREPARED $1
PREPARE TRANSACTION $1
ROLLBACK PREPARED $1

Thoughts or comments?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pltcl tests fail with FreeBSD 13.2
Next
From: Zhang Mingli
Date:
Subject: Re: [feature]COPY FROM enable FORCE_NULL/FORCE_NOT_NULL on all columns