Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
7f85cac0
Commit
7f85cac0
authored
25 years ago
by
Thomas G. Lockhart
Browse files
Options
Downloads
Patches
Plain Diff
Clean up description of SET CONSTRAINTS.
parent
07f60061
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/ref/set.sgml
+17
-8
17 additions, 8 deletions
doc/src/sgml/ref/set.sgml
with
17 additions
and
8 deletions
doc/src/sgml/ref/set.sgml
+
17
−
8
View file @
7f85cac0
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.4
1
2000/04/1
4 23:12:29 momjian
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/set.sgml,v 1.4
2
2000/04/1
8 15:23:34 thomas
Exp $
Postgres documentation
Postgres documentation
-->
-->
...
@@ -266,12 +266,14 @@ SELECT setseed(<replaceable>value</replaceable>);
...
@@ -266,12 +266,14 @@ SELECT setseed(<replaceable>value</replaceable>);
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term>CONSTRAINT</term>
<term>CONSTRAINT
S
</term>
<listitem>
<listitem>
<para>
<para>
SET CONSTRAINTS controls the frequency of foreign key
SET CONSTRAINTS affects the behavior of constraint evaluation
constratint checking in the current transaction. Allowed
in the current transaction.
parameters are:
SET CONSTRAINTS, specified
in SQL3, has these allowed parameters:
<variablelist>
<variablelist>
<varlistentry>
<varlistentry>
<term><replaceable class="parameter">constraintlist</replaceable></term>
<term><replaceable class="parameter">constraintlist</replaceable></term>
...
@@ -295,12 +297,19 @@ SELECT setseed(<replaceable>value</replaceable>);
...
@@ -295,12 +297,19 @@ SELECT setseed(<replaceable>value</replaceable>);
</para>
</para>
<para>
<para>
In <option>DEFERRED</option> mode, foreign key constraints
marked as <option>DEFERRABLE</option> are checked only at
transaction commit.
In <option>IMMEDIATE</option> mode, foreign key constraints
In <option>IMMEDIATE</option> mode, foreign key constraints
are checked at the end of each query.
are checked at the end of each query.
</para>
</para>
<para>
In <option>DEFERRED</option> mode, foreign key constraints
marked as <option>DEFERRABLE</option> are checked only at
transaction commit or until its mode is explicitly set to
<option>IMMEDIATE</option>.
This is actually only done for foreign key
constraints, so it does not apply to UNIQUE or other
constraints.
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment