Skip to content

Commit a6ed479

Browse files
committed
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
1 parent 155b580 commit a6ed479

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/src/sgml/ref/set.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
534534
</term>
535535
<listitem>
536536
<para>
537-
Sets the isolation level for transactions.
537+
Sets the isolation level for the current transaction.
538538

539539
<variablelist>
540540
<varlistentry>
@@ -543,7 +543,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
543543
</term>
544544
<listitem>
545545
<para>
546-
Sets the isolation level for transactions to
546+
Sets the isolation level for the current transaction to
547547
'SERIALIZABLE' or 'READ COMMITTED'.
548548
</para>
549549
</listitem>
@@ -556,7 +556,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
556556
</term>
557557
<listitem>
558558
<para>
559-
Sets the isolation level for transactions to
559+
Sets the isolation level for the current transaction to
560560
'SERIALIZABLE' or 'COMMITTED'.
561561
</para>
562562
</listitem>

src/man/set.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/set.l,v 1.19 1999/06/03 20:42:18 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/set.l,v 1.20 1999/06/03 20:44:28 momjian Exp $
44
.TH SET SQL 05/14/97 PostgreSQL PostgreSQL
55
.SH NAME
66
set - set run-time parameters for session
@@ -82,7 +82,7 @@ The default is unlimited.
8282
sets your timezone.
8383
.PP
8484
.I TRANSACTION ISOLATION LEVEL
85-
sets the transaction isolation level to
85+
sets the current transaction's isolation level to
8686
.IR SERIALIZABLE
8787
or
8888
.IR READ COMMITTED .

0 commit comments

Comments
 (0)