Commit 5a7547d3 authored by Bruce Momjian's avatar Bruce Momjian

Add description for SET TRANSACTION.

parent 74e7b58b
...@@ -545,6 +545,11 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL ...@@ -545,6 +545,11 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
<para> <para>
Sets the isolation level for the current transaction to Sets the isolation level for the current transaction to
'SERIALIZABLE' or 'READ COMMITTED'. '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> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -557,7 +562,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL ...@@ -557,7 +562,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
<listitem> <listitem>
<para> <para>
Sets the isolation level for the current transaction to Sets the isolation level for the current transaction to
'SERIALIZABLE' or 'READ COMMITTED'. 'READ COMMITTED'.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
.\" This is -*-nroff-*- .\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here.... .\" 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 .TH SET SQL 05/14/97 PostgreSQL PostgreSQL
.SH NAME .SH NAME
set - set run-time parameters for session set - set run-time parameters for session
...@@ -86,6 +86,14 @@ sets the current transaction's isolation level to ...@@ -86,6 +86,14 @@ sets the current transaction's isolation level to
.IR SERIALIZABLE .IR SERIALIZABLE
or or
.IR READ COMMITTED . .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 .PP
.IR CLIENT_ENCODING|NAMES .IR CLIENT_ENCODING|NAMES
sets the character set encoding of the client. Only available if multi-byte sets the character set encoding of the client. Only available if multi-byte
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment