Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 82ef3d3

Browse files
committed
Add a note to the MVCC chapter that some things aren't transactional.
Craig Ringer, slightly edited by me.
1 parent 71450d7 commit 82ef3d3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/src/sgml/mvcc.sgml

+12
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,18 @@
260260
command <xref linkend="sql-set-transaction">.
261261
</para>
262262

263+
<important>
264+
<para>
265+
Some <productname>PostgreSQL</productname> data types and functions have
266+
special rules regarding transactional behaviour. In particular, changes
267+
made to a <literal>SEQUENCE</literal> (and therefore the counter of a
268+
column declared using <literal>SERIAL</literal>) are immediately visible
269+
to all other transactions and are not rolled back if the transaction
270+
that made the changes aborts. See <xref linkend="functions-sequence">
271+
and <xref linkend="datatype-serial">.
272+
</para>
273+
</important>
274+
263275
<sect2 id="xact-read-committed">
264276
<title>Read Committed Isolation Level</title>
265277

0 commit comments

Comments
 (0)