Re: Rollback in Postgres - Mailing list pgsql-sql

From Mark Roberts
Subject Re: Rollback in Postgres
Date
Msg-id 1215793678.26739.121.camel@localhost
Whole thread Raw
In response to Rollback in Postgres  ("samantha mahindrakar" <sam.mahindrakar@gmail.com>)
List pgsql-sql
On Fri, 2008-07-11 at 11:43 -0400, samantha mahindrakar wrote:
> Hi all....
> This is a very basic question.....can we roll back data after we run a
> query.
> I know that a delete within a transaction can be rolled back. But how
> about independent delete queries???
> If i ran a delete statement and lost data...how do i recover. I know
> that oracle has this provision of rollingback queries.
> Iam surprised iam not able to find the same in postgres.
>  
> Sam

Postgres certainly can roll back queries, table creations, and many
other actions.  You can find more information about rollback here:
http://www.postgresql.org/docs/8.3/interactive/sql-rollback.html

Best of luck in your endeavor :)

-Mark




pgsql-sql by date:

Previous
From: "Robins Tharakan"
Date:
Subject: Unnecessary repeat condition for a self inner join
Next
From: "Matthew T. O'Connor"
Date:
Subject: When was my database created