Re: PostgreSQL starting with a corrupted database or other fatal issues

2021-09-10 Thread David G. Johnston
On Friday, September 10, 2021, Keith Christian wrote: > > Where would I find details about this situation in the PG docs?. > > As far as PostgreSQL is concerned if startup fails it tries to log that fact then stops. If doesn’t care whether it’s being started by hand, via systemd, or even cron, an

PostgreSQL starting with a corrupted database or other fatal issues

2021-09-10 Thread Keith Christian
Assuming that PostgreSQL is started by systemd, and encounters fatal issues, how often does systemd attempt to re-start it before giving up? I'm not familiar with that interaction and if systemd stops after X attempts, or what. What does postgres do when it encounters fatal issues and cannot star