]> granicus.if.org Git - postgresql/commitdiff
Add a note to the MVCC chapter that some things aren't transactional.
authorRobert Haas <rhaas@postgresql.org>
Tue, 21 Aug 2012 15:08:15 +0000 (11:08 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 21 Aug 2012 15:10:17 +0000 (11:10 -0400)
Craig Ringer, slightly edited by me.

doc/src/sgml/mvcc.sgml

index 8f8858294dc32b5f0bd18e9025428317dbfbc3fe..d5c6076d4aa64ae3b899977447424197f1ef7bff 100644 (file)
     command <xref linkend="sql-set-transaction">.
    </para>
 
+   <important>
+     <para>
+       Some <productname>PostgreSQL</productname> data types and functions have
+       special rules regarding transactional behaviour.  In particular, changes
+       made to a <literal>SEQUENCE</literal> (and therefore the counter of a
+       column declared using <literal>SERIAL</literal>) are immediately visible
+       to all other transactions and are not rolled back if the transaction
+       that made the changes aborts.  See <xref linkend="functions-sequence">
+       and <xref linkend="datatype-serial">.
+     </para>
+   </important>
+
   <sect2 id="xact-read-committed">
    <title>Read Committed Isolation Level</title>