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

MVCC updation.

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