Re: Any way to understand state after data corruption failures during startup.

2022-06-16 Thread Kyotaro Horiguchi
At Thu, 16 Jun 2022 19:46:25 -0700, Harinath Kanchu wrote in > > Hello, > > If postgres fail when it is starting as standby due to WAL file corruption, > can we get the status through any exit code or by parsing pg_control file ? > > I can see the “XX001” code is emitted in logs but parsing

Any way to understand state after data corruption failures during startup.

2022-06-16 Thread Harinath Kanchu
Hello, If postgres fail when it is starting as standby due to WAL file corruption, can we get the status through any exit code or by parsing pg_control file ? I can see the “XX001” code is emitted in logs but parsing logs doesn’t seem to be a good option. Please suggest. Thanks.