]> granicus.if.org Git - postgresql/commitdiff
Add description for SET TRANSACTION.
authorBruce Momjian <bruce@momjian.us>
Fri, 4 Jun 1999 03:44:42 +0000 (03:44 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 4 Jun 1999 03:44:42 +0000 (03:44 +0000)
doc/src/sgml/ref/set.sgml
src/man/set.l

index ec4b1baa89773c60fecadefca2df210add2c1beb..2b203e7698bdc68a5e333af8f73cf3c0068effe5 100644 (file)
@@ -545,6 +545,11 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
           <para>
                Sets the isolation level for the current transaction to
                'SERIALIZABLE' or 'READ COMMITTED'.
+               SERIALIZABLE means that the current transaction will place a 
+               lock on every row read, so later reads in that transaction 
+               see the rows unmodified by other transactions.
+               READ COMMITTED means that the current transaction reads only 
+               committed rows.  READ COMMITTED is the default.
           </para>
          </listitem>
         </varlistentry>
@@ -557,7 +562,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
          <listitem>
           <para>
                Sets the isolation level for the current transaction to
-               'SERIALIZABLE' or 'READ COMMITTED'.
+               'READ COMMITTED'.
           </para>
          </listitem>
         </varlistentry>
index 9a4cf7f9fb9edbd2f867c3c13cc8319bf8a07dfa..15c64baca7d7a20c71b009aa1d536dfd1d702c7a 100644 (file)
@@ -1,6 +1,6 @@
 .\" This is -*-nroff-*-
 .\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/set.l,v 1.20 1999/06/03 20:44:28 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/set.l,v 1.21 1999/06/04 03:44:42 momjian Exp $
 .TH SET SQL 05/14/97 PostgreSQL PostgreSQL
 .SH NAME
 set - set run-time parameters for session
@@ -86,6 +86,14 @@ sets the current transaction's isolation level to
 .IR SERIALIZABLE
 or
 .IR READ COMMITTED .
+.IR SERIALIZABLE
+means that the current transaction will place a lock on every row read,
+so later reads in that transaction see the rows unmodified by
+other transactions.
+.IR READ COMMITTED
+means that the current transaction reads only committed rows.
+.IR READ COMMITTED
+is the default.
 .PP
 .IR CLIENT_ENCODING|NAMES
 sets the character set encoding of the client.  Only available if multi-byte