1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Revert idea of zer-padding padding session id in log_line_prefix

Removal of doc adjustment and release note mention as well.
This commit is contained in:
Bruce Momjian
2013-05-06 08:59:39 -04:00
parent 539ecc9241
commit 8b06e6aba8
3 changed files with 5 additions and 13 deletions

View File

@ -2087,7 +2087,7 @@ log_line_prefix(StringInfo buf, ErrorData *edata)
}
break;
case 'c':
appendStringInfo(buf, "%lx.%04x", (long) (MyStartTime), MyProcPid);
appendStringInfo(buf, "%lx.%x", (long) (MyStartTime), MyProcPid);
break;
case 'p':
appendStringInfo(buf, "%d", MyProcPid);
@ -2266,7 +2266,7 @@ write_csvlog(ErrorData *edata)
appendStringInfoChar(&buf, ',');
/* session id */
appendStringInfo(&buf, "%lx.%04x", (long) MyStartTime, MyProcPid);
appendStringInfo(&buf, "%lx.%x", (long) MyStartTime, MyProcPid);
appendStringInfoChar(&buf, ',');
/* Line number */