Commit aa5bec67 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Make it more clear that you need to release savepoint with

RELEASE SAVEPOINT to make an older savepoint with the same name
accessible. It's also possible to implicitly release the savepoint by
rolling back to an earlier savepoint, but mentioning that too would make
the note just more verbose and confusing.
parent 5e85315e
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/savepoint.sgml,v 1.7 2010/04/03 07:23:02 petere Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/savepoint.sgml,v 1.8 2010/05/27 06:25:32 heikki Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -116,9 +116,10 @@ COMMIT; ...@@ -116,9 +116,10 @@ COMMIT;
savepoint with the same name is established. In savepoint with the same name is established. In
<productname>PostgreSQL</>, the old savepoint is kept, though only the more <productname>PostgreSQL</>, the old savepoint is kept, though only the more
recent one will be used when rolling back or releasing. (Releasing the recent one will be used when rolling back or releasing. (Releasing the
newer savepoint will cause the older one to again become accessible to newer savepoint with <command>RELEASE SAVEPOINT</> will cause the older one
<command>ROLLBACK TO SAVEPOINT</> and <command>RELEASE SAVEPOINT</>.) to again become accessible to <command>ROLLBACK TO SAVEPOINT</> and
Otherwise, <command>SAVEPOINT</command> is fully SQL conforming. <command>RELEASE SAVEPOINT</>.) Otherwise, <command>SAVEPOINT</command> is
fully SQL conforming.
</para> </para>
</refsect1> </refsect1>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment