aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2013-12-02 12:51:28 -0500
committerBruce Momjian <bruce@momjian.us>2013-12-02 12:51:58 -0500
commit54916b99f7e97aa6e32a4f265527f7517539d802 (patch)
tree41d7466a595af3270a7d47692b8741c7e3be0a9d
parentb8b7b723f29e39769486545aef61d71edcadff80 (diff)
downloadpostgresql-54916b99f7e97aa6e32a4f265527f7517539d802.tar.gz
postgresql-54916b99f7e97aa6e32a4f265527f7517539d802.zip
doc: update wording of ineffective SET and ABORT commands
Wording by Alvaro Herrera
-rw-r--r--doc/src/sgml/ref/abort.sgml3
-rw-r--r--doc/src/sgml/ref/rollback.sgml2
-rw-r--r--doc/src/sgml/ref/set.sgml5
-rw-r--r--doc/src/sgml/ref/set_constraints.sgml3
-rw-r--r--doc/src/sgml/ref/set_transaction.sgml2
5 files changed, 9 insertions, 6 deletions
diff --git a/doc/src/sgml/ref/abort.sgml b/doc/src/sgml/ref/abort.sgml
index f3a2fa88ff1..e9138d5702b 100644
--- a/doc/src/sgml/ref/abort.sgml
+++ b/doc/src/sgml/ref/abort.sgml
@@ -63,7 +63,8 @@ ABORT [ WORK | TRANSACTION ]
</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>
</refsect1>
diff --git a/doc/src/sgml/ref/rollback.sgml b/doc/src/sgml/ref/rollback.sgml
index 4f7962117c8..9a1529f0b48 100644
--- a/doc/src/sgml/ref/rollback.sgml
+++ b/doc/src/sgml/ref/rollback.sgml
@@ -60,7 +60,7 @@ ROLLBACK [ WORK | TRANSACTION ]
<para>
Issuing <command>ROLLBACK</> outside of a transaction
- block has no effect.
+ block emits a warning and otherwise has no effect.
</para>
</refsect1>
diff --git a/doc/src/sgml/ref/set.sgml b/doc/src/sgml/ref/set.sgml
index 5a84f697e67..aaad61eb4fd 100644
--- a/doc/src/sgml/ref/set.sgml
+++ b/doc/src/sgml/ref/set.sgml
@@ -110,8 +110,9 @@ SET [ SESSION | LOCAL ] TIME ZONE { <replaceable class="PARAMETER">timezone</rep
<para>
Specifies that the command takes effect for only the current
transaction. After <command>COMMIT</> or <command>ROLLBACK</>,
- the session-level setting takes effect again. This has no effect
- outside of a transaction block.
+ the session-level setting takes effect again. Issuing this
+ outside of a transaction block emits a warning and otherwise has
+ no effect.
</para>
</listitem>
</varlistentry>
diff --git a/doc/src/sgml/ref/set_constraints.sgml b/doc/src/sgml/ref/set_constraints.sgml
index a33190cca81..60cabeda3c4 100644
--- a/doc/src/sgml/ref/set_constraints.sgml
+++ b/doc/src/sgml/ref/set_constraints.sgml
@@ -99,7 +99,8 @@ SET CONSTRAINTS { ALL | <replaceable class="parameter">name</replaceable> [, ...
<para>
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>
</refsect1>
diff --git a/doc/src/sgml/ref/set_transaction.sgml b/doc/src/sgml/ref/set_transaction.sgml
index e90ff4af725..029b75a2bcc 100644
--- a/doc/src/sgml/ref/set_transaction.sgml
+++ b/doc/src/sgml/ref/set_transaction.sgml
@@ -185,7 +185,7 @@ SET SESSION CHARACTERISTICS AS TRANSACTION <replaceable class="parameter">transa
<para>
If <command>SET TRANSACTION</command> is executed without a prior
<command>START TRANSACTION</command> or <command>BEGIN</command>,
- it will have no effect.
+ it emits a warning and otherwise has no effect.
</para>
<para>