Behavior of identically-named savepoints - Mailing list pgsql-bugs

From Joshua Tolley
Subject Behavior of identically-named savepoints
Date
Msg-id 20090203183131.GA7082@eddie
Whole thread Raw
Responses Re: Behavior of identically-named savepoints  (Joshua Tolley <eggyknap@gmail.com>)
List pgsql-bugs
The SAVEPOINT documentation says that a new savepoint created with the
same name as an existing savepoint masks but does not destroy the old
savepoint, and rolling back to the savepoint will then make the old
savepoint available for RELEASE SAVEPOINT and ROLLBACK TO SAVEPOINT
calls. 8.3.5 and my 8.4devel (built a few days ago) don't follow this
behavior, as demonstrated with the attached script. Unless, of course,
I'm missing something.

- Josh / eggyknap

Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #4638: Bug with Geometry in Array
Next
From: Joshua Tolley
Date:
Subject: Re: Behavior of identically-named savepoints