The thing is, once your database server exploded, you cannot trust ANY data that's on it, and you should really revert to backups.
Backups are not a luxury, they are a MUST.
In case of a database crash, where just the database engine stops abruptly,
Postgres supports a WAL (write ahead log). This will create a file on disk, containing all the queries required to update the update the tables to the state your tables were in just before the crash.
It is very important to let postgres do checkpoints and backups regularly.
Read the Postgre manual for more info about the WAL.