mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Use correct format placeholder for pids
Should be signed, not unsigned.
This commit is contained in:
@@ -1541,7 +1541,7 @@ SnapBuildSerialize(SnapBuild *builder, XLogRecPtr lsn)
|
||||
elog(DEBUG1, "serializing snapshot to %s", path);
|
||||
|
||||
/* to make sure only we will write to this tempfile, include pid */
|
||||
sprintf(tmppath, "pg_logical/snapshots/%X-%X.snap.%u.tmp",
|
||||
sprintf(tmppath, "pg_logical/snapshots/%X-%X.snap.%d.tmp",
|
||||
LSN_FORMAT_ARGS(lsn), MyProcPid);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user