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.
REL9_0_STABLE
Heikki Linnakangas 16 years ago
parent 5e85315ea7
commit aa5bec67de
  1. 9
      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>

Loading…
Cancel
Save