Re: Two questions about savepoints: Bug or feature?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Two questions about savepoints: Bug or feature?
Дата
Msg-id 6EE64EF3AB31D5448D0007DD34EEB34101AF1B@Herge.rcsinc.local
обсуждение исходный текст
Ответ на Two questions about savepoints: Bug or feature?  (Devrim GUNDUZ <devrim@gunduz.org>)
Ответы Re: Two questions about savepoints: Bug or feature?  (Devrim GUNDUZ <devrim@gunduz.org>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Devrim GUNDUZ
Дата:
Сообщение: Two questions about savepoints: Bug or feature?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Anybody have an Oracle PL/SQL reference at hand?