aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/error/jsonlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/error/jsonlog.c')
-rw-r--r--src/backend/utils/error/jsonlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/error/jsonlog.c b/src/backend/utils/error/jsonlog.c
index 2c7b14cacb1..492383a89e2 100644
--- a/src/backend/utils/error/jsonlog.c
+++ b/src/backend/utils/error/jsonlog.c
@@ -168,7 +168,7 @@ write_jsonlog(ErrorData *edata)
}
/* Session id */
- appendJSONKeyValueFmt(&buf, "session_id", true, "%" INT64_MODIFIER "x.%x",
+ appendJSONKeyValueFmt(&buf, "session_id", true, INT64_HEX_FORMAT ".%x",
MyStartTime, MyProcPid);
/* Line number */