Fix garbled process name on backend crash
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 19 Aug 2024 06:48:25 +0000 (09:48 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 19 Aug 2024 06:48:25 +0000 (09:48 +0300)
commit56d23855c864b7384970724f3ad93fb0fc319e51
tree3747986ccbd60000b5f40a9f11559773bc934750
parentbd06cc338d82fd0c56de6421fe5ef143ec79cf6e
Fix garbled process name on backend crash

The log message on backend crash used wrong variable, which could be
uninitialized. Introduced in commit 28a520c0b7.

Reported-by: Alexander Lakhin
Discussion: https://www.postgresql.org/message-id/451b0797-83b8-cdbc-727f-8d7a7b0e3bca@gmail.com
src/backend/postmaster/postmaster.c