Content-Length: 258110 | pFad | http://github.com/postgrespro/postgres/commit/56d23855c864b7384970724f3ad93fb0fc319e51

E1 Fix garbled process name on backend crash · postgrespro/postgres@56d2385 · GitHub
Skip to content

Commit 56d2385

Browse files
committed
Fix garbled process name on backend crash
The log message on backend crash used wrong variable, which could be uninitialized. Introduced in commit 28a520c. Reported-by: Alexander Lakhin Discussion: https://www.postgresql.org/message-id/451b0797-83b8-cdbc-727f-8d7a7b0e3bca@gmail.com
1 parent bd06cc3 commit 56d2385

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/56d23855c864b7384970724f3ad93fb0fc319e51

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy