PG Bug reporting form <noreply@postgresql.org> writes:
> I have a website using postgresql on my vps. I get an error restarting
> postgresql server:
> 2019-03-15 05:58:53.305 UTC [1329] LOG: shutting down
> 2019-03-15 05:58:53.313 UTC [1311] LOG: checkpointer process (PID 1329)
> exited with exit code 0
> 2019-03-15 05:58:53.313 UTC [1311] LOG: terminating any other active server
> processes
Taking this at face value, it says that the checkpointer child process
exited before it was supposed to. Given that it exited with exit(0),
that seems to mean that something sent it SIGUSR2, which is the
normal-shutdown signal that the postmaster would have sent it later on.
It's difficult to say anything beyond that on this much evidence,
but I suspect that there are moving parts you haven't told us about.
Are you using a nonstandard shutdown script? Maybe there are poorly-
debugged extensions installed?
regards, tom lane