SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
                                ^^^^ required

Also note that SET TRANSACTION ISOLATION LEVEL change
isolevel for _current_ transaction, in accordance with
standard, not for session (ALTER SESSION is used in Oracle,
but it's not implemented currently).

And I would don't mention SET XACTISOLEVEL TO ...
form at all.

Please update set.sgml - I failed to understand all these

SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">

now.


for Vadim
This commit is contained in:
Bruce Momjian 1999-06-03 20:44:28 +00:00
parent 155b5808ca
commit a6ed4794a3
2 changed files with 5 additions and 5 deletions

View file

@ -534,7 +534,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
</term> </term>
<listitem> <listitem>
<para> <para>
Sets the isolation level for transactions. Sets the isolation level for the current transaction.
<variablelist> <variablelist>
<varlistentry> <varlistentry>
@ -543,7 +543,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
</term> </term>
<listitem> <listitem>
<para> <para>
Sets the isolation level for transactions to Sets the isolation level for the current transaction to
'SERIALIZABLE' or 'READ COMMITTED'. 'SERIALIZABLE' or 'READ COMMITTED'.
</para> </para>
</listitem> </listitem>
@ -556,7 +556,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
</term> </term>
<listitem> <listitem>
<para> <para>
Sets the isolation level for transactions to Sets the isolation level for the current transaction to
'SERIALIZABLE' or 'COMMITTED'. 'SERIALIZABLE' or 'COMMITTED'.
</para> </para>
</listitem> </listitem>

View file

@ -1,6 +1,6 @@
.\" 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.19 1999/06/03 20:42:18 momjian Exp $ .\" $Header: /cvsroot/pgsql/src/man/Attic/set.l,v 1.20 1999/06/03 20:44:28 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
@ -82,7 +82,7 @@ The default is unlimited.
sets your timezone. sets your timezone.
.PP .PP
.I TRANSACTION ISOLATION LEVEL .I TRANSACTION ISOLATION LEVEL
sets the transaction isolation level to sets the current transaction's isolation level to
.IR SERIALIZABLE .IR SERIALIZABLE
or or
.IR READ COMMITTED . .IR READ COMMITTED .