Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a209b985
Commit
a209b985
authored
Aug 06, 2010
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix inaccurate description of deferrable unique constraints, per Dean Rasheed.
parent
7ae6163a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
doc/src/sgml/release-9.0.sgml
doc/src/sgml/release-9.0.sgml
+10
-6
No files found.
doc/src/sgml/release-9.0.sgml
View file @
a209b985
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.4
5 2010/08/06 17:56:43 rhaas
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/release-9.0.sgml,v 2.4
6 2010/08/06 18:55:24 tgl
Exp $ -->
<sect1 id="release-9-0">
<title>Release 9.0</title>
...
...
@@ -91,7 +91,8 @@
<listitem>
<para>
<link linkend="SQL-CREATETABLE-compatibility">Deferrable
unique constraints, now permit mass updates to unique keys.</link>
unique constraints. Mass updates to unique keys are now possible
without trickery.</link>
</para>
</listitem>
...
...
@@ -1122,10 +1123,13 @@
</para>
<para>
This allows <command>UPDATE tab SET col = col + 1</> to work on
columns that have a unique indexes or are marked as primary key,
but <literal>DEFERRABLE INITIALLY DEFERRED</> must be used to mark
the constraint as deferred.
This allows <command>UPDATE tab SET col = col + 1</> to work reliably
on columns that have unique indexes or are marked as primary keys.
If the constraint is specified as <literal>DEFERRABLE</> it will be
checked at the end of the statement, rather than after each row is
updated. The constraint check may also be deferred until the end of the
current transaction, allowing updates to be spread over multiple SQL
commands.
</para>
</listitem>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment