Postgresql revert back database value
See if this helps.  I would take a backup right away because if vacuum cleans out the deleted row it's gone and you won't have any chance to recover it.

Recover Deleted Row