10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b72bd3d commit 22cc3b3Copy full SHA for 22cc3b3
src/backend/utils/error/elog.c
@@ -1970,7 +1970,7 @@ log_line_prefix(StringInfo buf, ErrorData *edata)
1970
}
1971
break;
1972
case 'c':
1973
- appendStringInfo(buf, "%lx.%x", (long) (MyStartTime), MyProcPid);
+ appendStringInfo(buf, "%lx.%04x", (long) (MyStartTime), MyProcPid);
1974
1975
case 'p':
1976
appendStringInfo(buf, "%d", MyProcPid);
@@ -2149,7 +2149,7 @@ write_csvlog(ErrorData *edata)
2149
appendStringInfoChar(&buf, ',');
2150
2151
/* session id */
2152
- appendStringInfo(&buf, "%lx.%x", (long) MyStartTime, MyProcPid);
+ appendStringInfo(&buf, "%lx.%04x", (long) MyStartTime, MyProcPid);
2153
2154
2155
/* Line number */
0 commit comments