diff options
Diffstat (limited to 'src/backend/utils/error/csvlog.c')
-rw-r--r-- | src/backend/utils/error/csvlog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/error/csvlog.c b/src/backend/utils/error/csvlog.c index 1d44d8a6a31..99a3d862250 100644 --- a/src/backend/utils/error/csvlog.c +++ b/src/backend/utils/error/csvlog.c @@ -152,8 +152,8 @@ write_csvlog(ErrorData *edata) /* Virtual transaction id */ /* keep VXID format in sync with lockfuncs.c */ - if (MyProc != NULL && MyProc->vxid.backendId != InvalidBackendId) - appendStringInfo(&buf, "%d/%u", MyProc->vxid.backendId, MyProc->vxid.lxid); + if (MyProc != NULL && MyProc->vxid.procNumber != INVALID_PROC_NUMBER) + appendStringInfo(&buf, "%d/%u", MyProc->vxid.procNumber, MyProc->vxid.lxid); appendStringInfoChar(&buf, ','); /* Transaction id */ |