Skip to content

Commit 155b580

Browse files
committed
Thanks for this, but SET TRANSACTION ISOLATION LEVEL
should be described like SET TIME ZONE: TO is not allowed, as well as DEFAULT option. There are only two forms: for Vadim.
1 parent a40bac0 commit 155b580

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

doc/src/sgml/ref/set.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
530530
<variablelist>
531531
<varlistentry>
532532
<term>
533-
XACTISOLEVEL | TRANSACTION ISOLATION LEVEL
533+
TRANSACTION ISOLATION LEVEL
534534
</term>
535535
<listitem>
536536
<para>
@@ -544,7 +544,7 @@ SET TIME ZONE { '<REPLACEABLE CLASS="PARAMETER">timezone</REPLACEABLE>' | LOCAL
544544
<listitem>
545545
<para>
546546
Sets the isolation level for transactions to
547-
'SERIALIZABLE' or 'COMMITTED'.
547+
'SERIALIZABLE' or 'READ COMMITTED'.
548548
</para>
549549
</listitem>
550550
</varlistentry>

src/bin/psql/psqlHelp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: psqlHelp.h,v 1.68 1999/06/03 19:52:08 momjian Exp $
8+
* $Id: psqlHelp.h,v 1.69 1999/06/03 20:42:17 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -331,7 +331,7 @@ TIMEZONE|XACTISOLEVEL|CLIENT_ENCODING|SERVER_ENCODING"},
331331
\tSET KSQO TO 'ON'|'OFF'\n\
332332
\tSET QUERY_LIMIT TO #\n\
333333
\tSET TIMEZONE TO 'value'\n\
334-
\tSET XACTISOLEVEL|TRANSACTION ISOLATION LEVEL TO 'SERIALIZABLE'|'COMMITTED'\n\
334+
\tSET TRANSACTION ISOLATION LEVEL 'SERIALIZABLE'|'READ COMMITTED'\n\
335335
\tSET CLIENT_ENCODING|NAMES TO 'EUC_JP'|'SJIS'|'EUC_CN'|'EUC_KR'|'EUC_TW'|\n\
336336
\t 'BIG5'|'MULE_INTERNAL'|'LATIN1'|'LATIN2'|'LATIN3'|'LATIN4'|'LATIN5'|\n\
337337
\t 'KOI8|'WIN'|'ALT'\n\

src/man/set.l

Lines changed: 3 additions & 3 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.18 1999/06/03 18:38:00 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/set.l,v 1.19 1999/06/03 20:42:18 momjian Exp $
44
.TH SET SQL 05/14/97 PostgreSQL PostgreSQL
55
.SH NAME
66
set - set run-time parameters for session
@@ -81,11 +81,11 @@ The default is unlimited.
8181
.IR TIMEZONE
8282
sets your timezone.
8383
.PP
84-
.I XACTISOLEVEL|TRANSACTION ISOLATION LEVEL
84+
.I TRANSACTION ISOLATION LEVEL
8585
sets the transaction isolation level to
8686
.IR SERIALIZABLE
8787
or
88-
.IR COMMITTED .
88+
.IR READ COMMITTED .
8989
.PP
9090
.IR CLIENT_ENCODING|NAMES
9191
sets the character set encoding of the client. Only available if multi-byte

0 commit comments

Comments
 (0)