Re: Two questions about savepoints: Bug or feature?

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: "Devrim GUNDUZ" <devrim(at)gunduz(dot)org>
Cc: <pgsql-hackers(at)PostgreSQL(dot)org>
Subject: Re: Two questions about savepoints: Bug or feature?
Date: 2004-08-03 13:58:43
Message-ID: 6EE64EF3AB31D5448D0007DD34EEB34101AF1B@Herge.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> test=# ROLLBACK to devrim;
> ROLLBACK
> test=# ROLLBACK to devrim;
> ROLLBACK
>
> ...and it goes on forever. Is it a feature or a bug?
>

feature. You can rollback to a savepoint multiple times (0 or more
savepoints might intervene)

> Are these all intended behaviors? I thought we wouldn't be able to
give
> more than 1 same name to savepoints in a transaction, am I right?

Nope. Read:
http://www.destructor.de/firebird/1.5/savepoints.txt

Merlin

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-08-03 14:10:45 Re: Anybody have an Oracle PL/SQL reference at hand?
Previous Message Devrim GUNDUZ 2004-08-03 13:49:21 Two questions about savepoints: Bug or feature?