Commit 54916b99 authored by Bruce Momjian's avatar Bruce Momjian

doc: update wording of ineffective SET and ABORT commands

Wording by Alvaro Herrera
parent b8b7b723
...@@ -63,7 +63,8 @@ ABORT [ WORK | TRANSACTION ] ...@@ -63,7 +63,8 @@ ABORT [ WORK | TRANSACTION ]
</para> </para>
<para> <para>
Issuing <command>ABORT</> outside of a transaction block has no effect. Issuing <command>ABORT</> outside of a transaction block
emits a warning and otherwise has no effect.
</para> </para>
</refsect1> </refsect1>
......
...@@ -60,7 +60,7 @@ ROLLBACK [ WORK | TRANSACTION ] ...@@ -60,7 +60,7 @@ ROLLBACK [ WORK | TRANSACTION ]
<para> <para>
Issuing <command>ROLLBACK</> outside of a transaction Issuing <command>ROLLBACK</> outside of a transaction
block has no effect. block emits a warning and otherwise has no effect.
</para> </para>
</refsect1> </refsect1>
......
...@@ -110,8 +110,9 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</rep ...@@ -110,8 +110,9 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</rep
<para> <para>
Specifies that the command takes effect for only the current Specifies that the command takes effect for only the current
transaction. After <command>COMMIT</> or <command>ROLLBACK</>, transaction. After <command>COMMIT</> or <command>ROLLBACK</>,
the session-level setting takes effect again. This has no effect the session-level setting takes effect again. Issuing this
outside of a transaction block. outside of a transaction block emits a warning and otherwise has
no effect.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
...@@ -99,7 +99,8 @@ SET CONSTRAINTS { ALL | <replaceable class="parameter">name</replaceable> [, ... ...@@ -99,7 +99,8 @@ SET CONSTRAINTS { ALL | <replaceable class="parameter">name</replaceable> [, ...
<para> <para>
This command only alters the behavior of constraints within the This command only alters the behavior of constraints within the
current transaction. This has no effect outside of a transaction block. current transaction. Issuing this outside of a transaction block
emits a warning and otherwise has no effect.
</para> </para>
</refsect1> </refsect1>
......
...@@ -185,7 +185,7 @@ SET SESSION CHARACTERISTICS AS TRANSACTION <replaceable class="parameter">transa ...@@ -185,7 +185,7 @@ SET SESSION CHARACTERISTICS AS TRANSACTION <replaceable class="parameter">transa
<para> <para>
If <command>SET TRANSACTION</command> is executed without a prior If <command>SET TRANSACTION</command> is executed without a prior
<command>START TRANSACTION</command> or <command>BEGIN</command>, <command>START TRANSACTION</command> or <command>BEGIN</command>,
it will have no effect. it emits a warning and otherwise has no effect.
</para> </para>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment