PostgreSQL PANIC: could not locate a valid checkpoint record

We have received the following error message.

PostgreSQL PANIC: could not locate a valid checkpoint record

PostgreSQL PANIC: could not locate a valid checkpoint record

Reason: It’s looking for a checkpoint record in the transaction log that probably doesn’t exist or is corrupted. We have to reset the write-ahead log and other control information of a PostgreSQL database cluster.
Continue reading PostgreSQL PANIC: could not locate a valid checkpoint record