aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-09-20 18:51:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-09-20 18:51:19 +0000
commit5b564e53070c60b3fecbd5c9b15e6a44d83b47e1 (patch)
treef02dbd1bde8596ff7fb23e15a8315e859e303b4d /doc/src
parent9332d0baba0ed8e77432bfc96c433e19c8487123 (diff)
downloadpostgresql-5b564e53070c60b3fecbd5c9b15e6a44d83b47e1.tar.gz
postgresql-5b564e53070c60b3fecbd5c9b15e6a44d83b47e1.zip
Fix some shortcomings in psql's autocommit-off mode concerning detection
of commands for which a transaction block should not be forced. Recognize VACUUM and other PreventTransactionChain commands; handle nested /* .. */ comments correctly; handle multibyte encodings correctly. Michael Paesold with some kibitzing from Tom Lane.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 4e366944b60..8dce2924dbd 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.121 2004/08/24 00:06:51 neilc Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.122 2004/09/20 18:51:17 tgl Exp $
PostgreSQL documentation
-->
@@ -1875,7 +1875,8 @@ bar
mode works by issuing an implicit <command>BEGIN</> for you, just
before any command that is not already in a transaction block and
is not itself a <command>BEGIN</> or other transaction-control
- command.
+ command, nor a command that cannot be executed inside a transaction
+ block (such as <command>VACUUM</>).
</para>
<note>