Re: Re: [COMMITTERS] pgsql: Perform only one ReadControlFile() during startup.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2017-09-19T17:15:28Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > On 2017-09-19 13:00:33 -0400, Robert Haas wrote: >> You mean, in the postmaster? > Yes. We try to avoid touch shmem there, but it's not like we're > succeeding fully. See e.g. the pgstat_get_crashed_backend_activity() > calls (which do rely on shmem being ok to some extent), pmsignal, > BackgroundWorkerStateChange(), ... Well, the point is to avoid touching data structures that could be corrupted enough to confuse the postmaster. I don't have any problem with adding some more functionality to pmsignal, say. regards, tom lane
Commits
-
Add test for postmaster crash restarts.
- a1924a4ea293 11.0 landed
-
Fix crash restart bug introduced in 8356753c212.
- ec9e05b3c392 11.0 landed
-
Perform only one ReadControlFile() during startup.
- 8356753c212a 11.0 cited