I accidentally updated 71 rows of 1 column in table. It's production and I want to learn how I can revert back those changes. It's an PostgreSQL environment.
Just after updating I realized where condition is missing. I rollback it but:
db=# ROLLBACK;
WARNING: there is no transaction in progress
ROLLBACK
Not sure how it's not getting rolled back. I had no backup files for it. Else I would have copied files locally and stored in database. So, can someone suggest how else I can proceed with reverting those changes?
Is there any way PostgreSQL store logs and that can be used to restore my data?