Re: - Mailing list pgsql-general

From patrick keshishian
Subject Re:
Date
Msg-id 20011016140540.W13487@pioneerdigital.com
Whole thread Raw
In response to  ("Mona" <mlisa@bisil.com>)
List pgsql-general
Try:

   begin;
   update TABLE set FIELDx = VALUEy
   rollback;


On Sat, Oct 13, 2001 at 12:02:01PM +0530, Mona wrote:
>
> We are trying to rollback an update in postgres. But so far we have not been able to do it.
> When we Rollback..
> it says:
>
> ROLLBACK: No transaction in progress.
>
> Same happens with commit.
> We are used to SQL PlUS
>
> Without these facilities we really cannot go ahead with postgres db. Could you please help us out on this.

--
patrick keshishian

Gnu  __   _
 -o)/ /  (_)__  __ ____  __
 /\\ /__/ / _ \/ // /\ \/ /
_\_v __/_/_//_/\_,_/ /_/\_\

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re:
Next
From: Tom Lane
Date:
Subject: Re: pg_views view doesn't work