File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.40 2000/04/14 15:17:28 thomas Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.41 2000/04/14 23:12:29 momjian Exp $
3
3
Postgres documentation
4
4
-->
5
5
@@ -269,10 +269,9 @@ SELECT setseed(<replaceable>value</replaceable>);
269
269
<term>CONSTRAINT</term>
270
270
<listitem>
271
271
<para>
272
- SET CONSTRAINTS is the SQL3 specified command to change the
273
- default behaviour of constraints with respect to deferring in the current
274
- transaction. Allowed parameters are:
275
-
272
+ SET CONSTRAINTS controls the frequency of foreign key
273
+ constratint checking in the current transaction. Allowed
274
+ parameters are:
276
275
<variablelist>
277
276
<varlistentry>
278
277
<term><replaceable class="parameter">constraintlist</replaceable></term>
@@ -296,11 +295,11 @@ SELECT setseed(<replaceable>value</replaceable>);
296
295
</para>
297
296
298
297
<para>
299
- In deferred mode, the actual check of the constraint is held
300
- back until either its mode is explicitly set to <option>IMMEDIATE </option>,
301
- or until COMMIT. This is actually only done for foreign key
302
- constraints, so it does not apply to UNIQUE or other
303
- constraints .
298
+ In <option>DEFERRED</option> mode, foreign key constraints
299
+ marked as <option>DEFERRABLE </option> are checked only at
300
+ transaction commit.
301
+ In <option>IMMEDIATE</option> mode, foreign key constraints
302
+ are checked at the end of each query .
304
303
</para>
305
304
</listitem>
306
305
</varlistentry>
You can’t perform that action at this time.
0 commit comments