summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Linnakangas2010-05-27 06:25:32 +0000
committerHeikki Linnakangas2010-05-27 06:25:32 +0000
commitaa5bec67dee9bbd9929a468211d004c448859635 (patch)
treeb144674ad43194a1cd9a70e34624ad466c08cce4
parent5e85315ea7a4040b5faeddeebbbadb81fed234c9 (diff)
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.
-rw-r--r--doc/src/sgml/ref/savepoint.sgml9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/savepoint.sgml b/doc/src/sgml/ref/savepoint.sgml
index 72b718fcf65..d2c58e5b661 100644
--- a/doc/src/sgml/ref/savepoint.sgml
+++ b/doc/src/sgml/ref/savepoint.sgml
@@ -1,5 +1,5 @@
<!--
-$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
-->
@@ -116,9 +116,10 @@ COMMIT;
savepoint with the same name is established. In
<productname>PostgreSQL</>, the old savepoint is kept, though only the more
recent one will be used when rolling back or releasing. (Releasing the
- newer savepoint will cause the older one to again become accessible to
- <command>ROLLBACK TO SAVEPOINT</> and <command>RELEASE SAVEPOINT</>.)
- Otherwise, <command>SAVEPOINT</command> is fully SQL conforming.
+ newer savepoint with <command>RELEASE SAVEPOINT</> will cause the older one
+ to again become accessible to <command>ROLLBACK TO SAVEPOINT</> and
+ <command>RELEASE SAVEPOINT</>.) Otherwise, <command>SAVEPOINT</command> is
+ fully SQL conforming.
</para>
</refsect1>