From 5b564e53070c60b3fecbd5c9b15e6a44d83b47e1 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 20 Sep 2004 18:51:19 +0000 Subject: 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. --- doc/src/sgml/ref/psql-ref.sgml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/src') 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 @@ @@ -1875,7 +1875,8 @@ bar mode works by issuing an implicit BEGIN for you, just before any command that is not already in a transaction block and is not itself a BEGIN or other transaction-control - command. + command, nor a command that cannot be executed inside a transaction + block (such as VACUUM). -- cgit v1.2.3