doc: update wording of ineffective SET and ABORT commands

Wording by Alvaro Herrera
This commit is contained in:
Bruce Momjian 2013-12-02 12:51:28 -05:00
parent b8b7b723f2
commit 54916b99f7
5 changed files with 9 additions and 6 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>