Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id A15A49FB280; Mon, 30 Oct 2006 11:26:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 68491-09; Mon, 30 Oct 2006 15:26:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 943C49FA326; Mon, 30 Oct 2006 11:26:05 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id 4D11B56462; Mon, 30 Oct 2006 09:26:04 -0600 (CST) Received: (hashcash-sendmail, from uid 1001); Mon, 30 Oct 2006 09:25:49 -0600 Date: Mon, 30 Oct 2006 09:25:49 -0600 From: "Jim C. Nasby" To: shaik mastan dilshad Cc: "Jim C.Nasby" , Fourat Zouari , pgsql-novice@postgresql.org, pgsql-admin@postgresql.org, Bricklen Anderson Subject: Re: Copying data from table to table (cloned tables) Message-ID: <20061030152549.GB11985@decibel.org> References: <20061027123851.28240.qmail@webmail58.rediffmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061027123851.28240.qmail@webmail58.rediffmail.com> X-Operating-System: FreeBSD 6.1-RELEASE-p10 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.13 (2006-08-11) X-Hashcash: 1:20:061030:dilshad_sm@rediffmail.com::xyKEFHdTw302sRNB:000000000000 0000000000000000000000001GPa X-Hashcash: 1:20:061030:jim@nasby.net::35fzh0ArXAkwdKtT:00000LML X-Hashcash: 1:20:061030:fourat@gmail.com::PXGXEQ9X+Gn4WvMj:025ys X-Hashcash: 1:20:061030:pgsql-novice@postgresql.org::ccAhBhep+DPGRE11:0000000000 0000000000000000000000005HQ4 X-Hashcash: 1:20:061030:pgsql-admin@postgresql.org::qy2sEzLEgH2NSW4I:00000000000 0000000000000000000000001B+P X-Hashcash: 1:20:061030:banderson@presinet.com::pRrZGKTrJ1VIt+CD:000000000000000 00000000000000000000000069Xa X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/213 X-Sequence-Number: 23516 On Fri, Oct 27, 2006 at 12:38:51PM -0000, shaik mastan dilshad wrote: > Hi all, > > Can any one tell me,how to retirve the data which had deleted for an instance ,i mean how to rollback the previous. > > Look forward to hearing from all of you. Please start a new thread instead of replying to an existing one. You can only rollback an uncommitted transaction. Once you commit, the changes are permanent. Your only other option is to setup Point In Time Recovery (PITR), and use it to restore a copy of your database to just before committing a the transaction you want to back out. Of course, everything that's happened in the database since then will also be gone. -- Jim C. Nasby, Database Architect decibel@decibel.org Give your computer some brain candy! www.distributed.net Team #1828 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming, or what?"