From: Bruno Wolff III <bruno@wolff.to>
To: Abdul Wahab Dahalan <wahab@mimos.my>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to undelete deleted data
Date: Thu, 29 May 2003 06:21:59 -0500
Message-ID: <20030529112159.GD11002@wolff.to> (raw)
In-Reply-To: <3ED5D4CF.3050701@mimos.my>
References: <3ED5D4CF.3050701@mimos.my>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: bruno@wolff.to, wahab@mimos.my
Subject: Re: How to undelete deleted data
In-Reply-To: <20030529112159.GD11002@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox