Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit643f75c

Browse files
committed
Fix unportable coding in BackgroundWorkerStateChange().
PIDs aren't necessarily ints; our usual practice for printing themis to explicitly cast to long. Per buildfarm member rover_firefly.
1 parentf0ee42d commit643f75c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/postmaster/bgworker.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,8 @@ BackgroundWorkerStateChange(void)
303303
rw->rw_worker.bgw_notify_pid=slot->worker.bgw_notify_pid;
304304
if (!PostmasterMarkPIDForWorkerNotify(rw->rw_worker.bgw_notify_pid))
305305
{
306-
elog(DEBUG1,"worker notification PID %u is not valid",
307-
rw->rw_worker.bgw_notify_pid);
306+
elog(DEBUG1,"worker notification PID %lu is not valid",
307+
(long)rw->rw_worker.bgw_notify_pid);
308308
rw->rw_worker.bgw_notify_pid=0;
309309
}
310310

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp