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

Commit56d2385

Browse files
committed
Fix garbled process name on backend crash
The log message on backend crash used wrong variable, which could beuninitialized. Introduced in commit28a520c.Reported-by: Alexander LakhinDiscussion:https://www.postgresql.org/message-id/451b0797-83b8-cdbc-727f-8d7a7b0e3bca@gmail.com
1 parentbd06cc3 commit56d2385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2612,7 +2612,7 @@ CleanupBackend(Backend *bp,
26122612

26132613
if (crashed)
26142614
{
2615-
HandleChildCrash(bp->pid,exitstatus,namebuf);
2615+
HandleChildCrash(bp->pid,exitstatus,procname);
26162616
pfree(bp);
26172617
return;
26182618
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp