diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-08-04 04:31:44 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-08-04 04:31:44 +0000 |
commit | 19e0e35bcd3d0a1e46cb294ab08fbe062d4cf0d6 (patch) | |
tree | 0e46bff54197af8970529fc54e8766cbcda23567 /doc/src | |
parent | fecc04f95a136bbfbded44c476d597eed6ac6258 (diff) | |
download | postgresql-19e0e35bcd3d0a1e46cb294ab08fbe062d4cf0d6.tar.gz postgresql-19e0e35bcd3d0a1e46cb294ab08fbe062d4cf0d6.zip |
The attached patch implements START TRANSACTION, per SQL99. The
functionality of the command is basically identical to that of
BEGIN; it just accepts a few extra options (only one of which
PostgreSQL currently implements), and is standards-compliant.
The patch includes a simple regression test and documentation.
[ Regression tests removed, per Peter.]
Neil Conway
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/allfiles.sgml | 3 | ||||
-rw-r--r-- | doc/src/sgml/ref/begin.sgml | 4 | ||||
-rw-r--r-- | doc/src/sgml/ref/set_transaction.sgml | 12 | ||||
-rw-r--r-- | doc/src/sgml/reference.sgml | 3 |
4 files changed, 12 insertions, 10 deletions
diff --git a/doc/src/sgml/ref/allfiles.sgml b/doc/src/sgml/ref/allfiles.sgml index 1ee6f2f2004..502cdb0e42c 100644 --- a/doc/src/sgml/ref/allfiles.sgml +++ b/doc/src/sgml/ref/allfiles.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/allfiles.sgml,v 1.43 2002/07/29 22:14:10 tgl Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/allfiles.sgml,v 1.44 2002/08/04 04:31:44 momjian Exp $ PostgreSQL documentation Complete list of usable sgml source files in this directory. --> @@ -113,6 +113,7 @@ Complete list of usable sgml source files in this directory. <!entity setSessionAuth system "set_session_auth.sgml"> <!entity setTransaction system "set_transaction.sgml"> <!entity show system "show.sgml"> +<!entity startTransaction system "start_transaction.sgml"> <!entity truncate system "truncate.sgml"> <!entity unlisten system "unlisten.sgml"> <!entity update system "update.sgml"> diff --git a/doc/src/sgml/ref/begin.sgml b/doc/src/sgml/ref/begin.sgml index 53899f85560..850bfd77e68 100644 --- a/doc/src/sgml/ref/begin.sgml +++ b/doc/src/sgml/ref/begin.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/begin.sgml,v 1.17 2002/04/21 19:02:39 thomas Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/begin.sgml,v 1.18 2002/08/04 04:31:44 momjian Exp $ PostgreSQL documentation --> @@ -21,7 +21,7 @@ PostgreSQL documentation <refsynopsisdivinfo> <date>1999-07-20</date> </refsynopsisdivinfo> - <synopsis> + <synopsis> BEGIN [ WORK | TRANSACTION ] </synopsis> diff --git a/doc/src/sgml/ref/set_transaction.sgml b/doc/src/sgml/ref/set_transaction.sgml index 5a253d85806..315a999330f 100644 --- a/doc/src/sgml/ref/set_transaction.sgml +++ b/doc/src/sgml/ref/set_transaction.sgml @@ -1,4 +1,4 @@ -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/set_transaction.sgml,v 1.8 2002/01/20 22:19:57 petere Exp $ --> +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ref/set_transaction.sgml,v 1.9 2002/08/04 04:31:44 momjian Exp $ --> <refentry id="SQL-SET-TRANSACTION"> <docinfo> <date>2000-11-24</date> @@ -97,11 +97,11 @@ SET default_transaction_isolation = '<replaceable>value</replaceable>' <title>SQL92, SQL99</title> <para> - SERIALIZABLE is the default level in <acronym>SQL</acronym>. - <productname>PostgreSQL</productname> does not provide the - isolation levels <option>READ UNCOMMITTED</option> - and <option>REPEATABLE READ</option>. Because - of multiversion concurrency control, the serializable level is not + <option>SERIALIZABLE</option> is the default level in + <acronym>SQL</acronym>. <productname>PostgreSQL</productname> does + not provide the isolation levels <option>READ UNCOMMITTED</option> + and <option>REPEATABLE READ</option>. Because of multiversion + concurrency control, the <option>SERIALIZABLE</option> level is not truly serializable. See the <citetitle>User's Guide</citetitle> for details. </para> diff --git a/doc/src/sgml/reference.sgml b/doc/src/sgml/reference.sgml index 2101dfe8a1b..3c6af16730b 100644 --- a/doc/src/sgml/reference.sgml +++ b/doc/src/sgml/reference.sgml @@ -1,5 +1,5 @@ <!-- reference.sgml -$Header: /cvsroot/pgsql/doc/src/sgml/reference.sgml,v 1.32 2002/07/29 22:14:10 tgl Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/reference.sgml,v 1.33 2002/08/04 04:31:44 momjian Exp $ PostgreSQL Reference Manual --> @@ -122,6 +122,7 @@ PostgreSQL Reference Manual &setSessionAuth; &setTransaction; &show; + &startTransaction; &truncate; &unlisten; &update; |