During crash recovery, the server writes this to log:
< 2020-08-16 08:46:08.601 -03 >LOG: redo done at 2299C/1EC6BA00
< 2020-08-16 08:46:08.877 -03 >LOG: checkpoint starting: end-of-recovery immediate
But runs a checkpoint, which can take a long time, while the "ps" display still
says "recovering NNNNNNNN".
Please change to say "recovery checkpoint" or similar, as I mentioned here.
https://www.postgresql.org/message-id/20200118201111.GP26045@telsasoft.com
--
Justin