Database connection error

connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL:  the database system is in recovery mode

Software error:

connection to server at "localhost" (127.0.0.1), port 5432 failed: FATAL:  the database system is in recovery mode at /usr/share/perl/5.28/DBCommands.pm line 64.

For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error.