Re: How to undelete deleted data - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: How to undelete deleted data
Date
Msg-id 20030529112159.GD11002@wolff.to
Whole thread Raw
In response to How to undelete deleted data  (Abdul Wahab Dahalan <wahab@mimos.my>)
List pgsql-sql
On Thu, May 29, 2003 at 17:37:19 +0800, Abdul Wahab Dahalan <wahab@mimos.my> wrote:
> How can I undelete the deleted data from a table;

If you notice before you commit, you issue a rollback. Otherwise you need
to recover from backup. If you don't have a backup, then you might be
able to do some fancy stuff to see old tuples. If you are going to do
this you should shutdown the database and make a copy of what you have.
If you haven't done a vacuum since the delete, the old tuples should
still be stored in the database.


pgsql-sql by date:

Previous
From: Abdul Wahab Dahalan
Date:
Subject: How To Recover Deleted Data
Next
From: C F
Date:
Subject: Returning Multiple Values from CASE statement?