| From: | Jan Poslusny <pajout(at)gingerall(dot)cz> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: |
| Date: | 2001-10-17 08:23:23 |
| Message-ID: | 3BCD3FFB.3080303@gingerall.cz |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi Mona,
you have to start transaction firstly,
testdb=#begin;
,then do some select, insert, update etc., then
testdb=#rollback;
or
testdb=#commit;
all commands outside transaction are autocommited.
pajout
Mona wrote:
> Hi
>
>
>
>
> 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.
>
>
>
>
>
>
>
> Thanks
>
> mlisa
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ashley @ Turton | 2001-10-17 08:24:42 | Blank SQL insert statements |
| Previous Message | Stephen Robert Norris | 2001-10-17 08:10:15 | Re: Python interface memory leak? |