From a620a760ed258a2004645ee87c9b98da71cf5266 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 10 Jan 2004 02:21:08 +0000 Subject: Allow BEGIN WORK to specify transaction isolation level, like START TRANSACTION. --- doc/src/sgml/ref/begin.sgml | 17 ++++++++++++++++- doc/src/sgml/ref/start_transaction.sgml | 7 +++---- 2 files changed, 19 insertions(+), 5 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/begin.sgml b/doc/src/sgml/ref/begin.sgml index 66fcda1776d..03fcbf97f27 100644 --- a/doc/src/sgml/ref/begin.sgml +++ b/doc/src/sgml/ref/begin.sgml @@ -1,5 +1,5 @@ @@ -21,6 +21,8 @@ PostgreSQL documentation BEGIN [ WORK | TRANSACTION ] + [ ISOLATION LEVEL { READ UNCOMMITTED | READ COMMITTED | REPEATABLE READ | SERIALIZABLE } ] + [ READ WRITE | READ ONLY ] @@ -49,6 +51,13 @@ BEGIN [ WORK | TRANSACTION ] other sessions will be unable to see the intermediate states wherein not all the related updates have been done. + + + If the isolation level or read/write mode is specified, the new + transaction has those characteristics, as if + + was executed. + @@ -65,6 +74,12 @@ BEGIN [ WORK | TRANSACTION ] + + + See under about the meaning of the + other parameters. + diff --git a/doc/src/sgml/ref/start_transaction.sgml b/doc/src/sgml/ref/start_transaction.sgml index 3ac66c883aa..98881920bae 100644 --- a/doc/src/sgml/ref/start_transaction.sgml +++ b/doc/src/sgml/ref/start_transaction.sgml @@ -1,5 +1,5 @@ @@ -33,9 +33,8 @@ START TRANSACTION This command begins a new transaction. If the isolation level or read/write mode is specified, the new transaction has those characteristics, as if was executed. In all other - respects, the behavior of this command is identical to the command. + endterm="sql-set-transaction-title"> was executed. It is the same + as the command. -- cgit v1.2.3