pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: shaik mastan dilshad <dilshad_sm@rediffmail.com>
Cc: pgsql-novice@postgresql.org
Subject: Re: [ADMIN] Copying data from table to table (cloned tables)
Date: Mon, 30 Oct 2006 04:41:17 -0800 (PST)
Message-ID: <742794.76983.qm@web31810.mail.mud.yahoo.com> (raw)
In-Reply-To: <20061027123851.28240.qmail@webmail58.rediffmail.com>

> Can any one tell me,how to retirve the data which had deleted for an instance ,i mean how to
> rollback the previous.

To get the functionality of a rollback you next to begin with a transaction:

begin transaction;

delete from foo;

--oops I deleted to much;

rollback;

Regards,

Richard Broersma Jr.



view thread (13+ messages)  latest in thread

Message-ID: <742794.76983.qm@web31810.mail.mud.yahoo.com>
Permalink:  ../742794.76983.qm@web31810.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/742794.76983.qm@web31810.mail.mud.yahoo.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: rabroersma@yahoo.com, dilshad_sm@rediffmail.com, pgsql-novice@postgresql.org
  Subject: Re: [ADMIN] Copying data from table to table (cloned tables)
  In-Reply-To: <742794.76983.qm@web31810.mail.mud.yahoo.com>
  References: <20061027123851.28240.qmail@webmail58.rediffmail.com> <742794.76983.qm@web31810.mail.mud.yahoo.com>

* 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