If you get the following error in a PostgreSQL database:
Could not access status of transaction
This means that you have a corruption in your log files and possibly therefore a corruption in your database. To work around this, you can apparently create a log file filled with zeros instead of the corrupted log file, but personally I just did a restore of the database, because I don’t want other hassles, especially if the db itself was corrupted.