Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 640b91c

Browse filesBrowse files
committed
Use correct format placeholder for pids
Should be signed, not unsigned.
1 parent c64dcc7 commit 640b91c
Copy full SHA for 640b91c

File tree

Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed

‎src/backend/postmaster/autovacuum.c

Copy file name to clipboardExpand all lines: src/backend/postmaster/autovacuum.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1860,7 +1860,7 @@ autovac_balance_cost(void)
18601860
}
18611861

18621862
if (worker->wi_proc != NULL)
1863-
elog(DEBUG2, "autovac_balance_cost(pid=%u db=%u, rel=%u, dobalance=%s cost_limit=%d, cost_limit_base=%d, cost_delay=%g)",
1863+
elog(DEBUG2, "autovac_balance_cost(pid=%d db=%u, rel=%u, dobalance=%s cost_limit=%d, cost_limit_base=%d, cost_delay=%g)",
18641864
worker->wi_proc->pid, worker->wi_dboid, worker->wi_tableoid,
18651865
worker->wi_dobalance ? "yes" : "no",
18661866
worker->wi_cost_limit, worker->wi_cost_limit_base,

‎src/backend/postmaster/bgworker.c

Copy file name to clipboardExpand all lines: src/backend/postmaster/bgworker.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ BackgroundWorkerStateChange(bool allow_new_workers)
387387
rw->rw_worker.bgw_notify_pid = slot->worker.bgw_notify_pid;
388388
if (!PostmasterMarkPIDForWorkerNotify(rw->rw_worker.bgw_notify_pid))
389389
{
390-
elog(DEBUG1, "worker notification PID %lu is not valid",
390+
elog(DEBUG1, "worker notification PID %ld is not valid",
391391
(long) rw->rw_worker.bgw_notify_pid);
392392
rw->rw_worker.bgw_notify_pid = 0;
393393
}

‎src/backend/replication/logical/snapbuild.c

Copy file name to clipboardExpand all lines: src/backend/replication/logical/snapbuild.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ SnapBuildSerialize(SnapBuild *builder, XLogRecPtr lsn)
15411541
elog(DEBUG1, "serializing snapshot to %s", path);
15421542

15431543
/* to make sure only we will write to this tempfile, include pid */
1544-
sprintf(tmppath, "pg_logical/snapshots/%X-%X.snap.%u.tmp",
1544+
sprintf(tmppath, "pg_logical/snapshots/%X-%X.snap.%d.tmp",
15451545
LSN_FORMAT_ARGS(lsn), MyProcPid);
15461546

15471547
/*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.