Commit c0b4b42c authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

MVCC updation.

parent ccdad51a
This diff is collapsed.
......@@ -20,7 +20,7 @@
<synopsis>
SET <replaceable class="PARAMETER">variable</replaceable> { TO | = } { '<replaceable class="PARAMETER">value</replaceable>' | DEFAULT }
SET TIME ZONE { '<replaceable class="PARAMETER">timezone</replaceable>' | LOCAL | DEFAULT };
SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZED | DEFAULT }
SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZED }
</synopsis>
<refsect2 id="R2-SQL-SET-1">
......@@ -350,36 +350,33 @@ SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZED | DEFAULT }
</term>
<listitem>
<para>
The current transaction reads only
committed rows. READ COMMITTED is the default.
The current transaction queries read only rows committed
before a query began. READ COMMITTED is the default.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
SERIALIZABLE
</term>
<listitem>
<note>
<para>
The current transaction will place a
lock on every row read, so later reads in that transaction
see the rows unmodified by other transactions.
<acronym>SQL92</acronym> standard requires
SERIALIZABLE to be the default isolation level.
</para>
</note>
</listitem>
</varlistentry>
<varlistentry>
<term>
DEFAULT
SERIALIZABLE
</term>
<listitem>
<para>
Sets the isolation level for the current transaction to
<option>READ COMMITTED</option>.
The current transaction queries read only rows committed
before first DML statement
(<command>SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO</command>)
was executed in this transaction.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</listitem>
......@@ -789,7 +786,7 @@ SET TRANSACTION ISOLATION LEVEL { READ COMMITTED | SERIALIZED | DEFAULT }
<para>
There is no
<command>SET <replaceable class="parameter">variable</replaceable></command>
in <acronym>SQL92</acronym>.
in <acronym>SQL92</acronym> (except for SET TRANSACTION ISOLATION LEVEL).
The <acronym>SQL92</acronym> syntax for <command>SET TIME ZONE</command>
is slightly different,
......
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