prefix.diff
text/x-diff
Filename: prefix.diff
Type: text/x-diff
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| src/backend/utils/error/elog.c | 0 | 0 |
diff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c new file mode 100644 index a40b343..68b7ab3 *** a/src/backend/utils/error/elog.c --- b/src/backend/utils/error/elog.c *************** log_line_prefix(StringInfo buf, ErrorDat *** 1970,1976 **** } break; case 'c': ! appendStringInfo(buf, "%lx.%x", (long) (MyStartTime), MyProcPid); break; case 'p': appendStringInfo(buf, "%d", MyProcPid); --- 1970,1976 ---- } break; case 'c': ! appendStringInfo(buf, "%lx.%04x", (long) (MyStartTime), MyProcPid); break; case 'p': appendStringInfo(buf, "%d", MyProcPid); *************** write_csvlog(ErrorData *edata) *** 2149,2155 **** appendStringInfoChar(&buf, ','); /* session id */ ! appendStringInfo(&buf, "%lx.%x", (long) MyStartTime, MyProcPid); appendStringInfoChar(&buf, ','); /* Line number */ --- 2149,2155 ---- appendStringInfoChar(&buf, ','); /* session id */ ! appendStringInfo(&buf, "%lx.%04x", (long) MyStartTime, MyProcPid); appendStringInfoChar(&buf, ','); /* Line number */