aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/set_constraints.sgml
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2013-11-25 19:19:40 -0500
committerBruce Momjian <bruce@momjian.us>2013-11-25 19:19:40 -0500
commita6542a4b6870a019cd952d055d2e7af2da2fe102 (patch)
treea2b0c5daba153d704f31edfbf1e66834d4955627 /doc/src/sgml/ref/set_constraints.sgml
parent05b476c2983a8d38bf6a0254553b4a0776896aa7 (diff)
downloadpostgresql-a6542a4b6870a019cd952d055d2e7af2da2fe102.tar.gz
postgresql-a6542a4b6870a019cd952d055d2e7af2da2fe102.zip
Change SET LOCAL/CONSTRAINTS/TRANSACTION and ABORT behavior
Change SET LOCAL/CONSTRAINTS/TRANSACTION behavior outside of a transaction block from error (post-9.3) to warning. (Was nothing in <= 9.3.) Also change ABORT outside of a transaction block from notice to warning.
Diffstat (limited to 'doc/src/sgml/ref/set_constraints.sgml')
-rw-r--r--doc/src/sgml/ref/set_constraints.sgml5
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/set_constraints.sgml b/doc/src/sgml/ref/set_constraints.sgml
index 895a5fdbc0e..a33190cca81 100644
--- a/doc/src/sgml/ref/set_constraints.sgml
+++ b/doc/src/sgml/ref/set_constraints.sgml
@@ -99,10 +99,7 @@ SET CONSTRAINTS { ALL | <replaceable class="parameter">name</replaceable> [, ...
<para>
This command only alters the behavior of constraints within the
- current transaction. Thus, if you execute this command outside of a
- transaction block
- (<command>BEGIN</command>/<command>COMMIT</command> pair), it will
- generate an error.
+ current transaction. This has no effect outside of a transaction block.
</para>
</refsect1>