Skip to content

Commit 93c0222

Browse files
committed
Add origin traces in prepare
1 parent 1a76ebb commit 93c0222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/transam/twophase.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1065,8 +1065,8 @@ EndPrepare(GlobalTransaction gxact)
10651065
/* dump transaction origin information */
10661066
if (replorigin_session_origin != InvalidRepOriginId)
10671067
{
1068-
elog(LOG, "EndPrepare of %d (%s): replorigin_session_origin=%d, replorigin_session_origin_lsn=%ld",
1069-
gxact->xid, gxact->gid,
1068+
elog(LOG, "EndPrepare of %s: replorigin_session_origin=%d, replorigin_session_origin_lsn=%ld",
1069+
gxact->gid,
10701070
replorigin_session_origin, replorigin_session_origin_lsn);
10711071
xl_xinfo.xinfo |= XACT_XINFO_HAS_ORIGIN;
10721072
Assert(replorigin_session_origin_lsn != 0);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy