Skip to content

Commit 7922227

Browse files
committed
Update:
< * Allow DEFERRABLE UNIQUE constraints? > * Allow DEFERRABLE and end-of-statement UNIQUE constraints? > > This would allow UPDATE tab SET col = col + 1 to work if col has > a unique index. Currently, uniqueness checks are done while the > command is being executed, rather than at the end of the statement > or transaction. >
1 parent 1832cef commit 7922227

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

doc/TODO

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PostgreSQL TODO List
33
====================
44
Current maintainer: Bruce Momjian (bruce@momjian.us)
5-
Last updated: Fri Aug 25 19:43:59 EDT 2006
5+
Last updated: Mon Aug 28 19:20:20 EDT 2006
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -873,7 +873,13 @@ Triggers
873873
memory. This could exhaust memory for very large trigger queues.
874874
This item involves dumping large queues into files.
875875

876-
* Allow DEFERRABLE UNIQUE constraints?
876+
* Allow DEFERRABLE and end-of-statement UNIQUE constraints?
877+
878+
This would allow UPDATE tab SET col = col + 1 to work if col has
879+
a unique index. Currently, uniqueness checks are done while the
880+
command is being executed, rather than at the end of the statement
881+
or transaction.
882+
877883
* Allow triggers to be disabled in only the current session.
878884

879885
This is currently possible by starting a multi-statement transaction,

doc/src/FAQ/TODO.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<body bgcolor="#FFFFFF" text="#000000" link="#FF0000" vlink="#A00000" alink="#0000FF">
99
<h1><a name="section_1">PostgreSQL TODO List</a></h1>
1010
<p>Current maintainer: Bruce Momjian (<a href="mailto:bruce@momjian.us">bruce@momjian.us</a>)<br/>
11-
Last updated: Fri Aug 25 19:43:59 EDT 2006
11+
Last updated: Mon Aug 28 19:20:20 EDT 2006
1212
</p>
1313
<p>The most recent version of this document can be viewed at<br/>
1414
<a href="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -794,7 +794,12 @@ <h1><a name="section_10">Triggers</a></h1>
794794
memory. This could exhaust memory for very large trigger queues.
795795
This item involves dumping large queues into files.
796796
</p>
797-
</li><li>Allow DEFERRABLE UNIQUE constraints?
797+
</li><li>Allow DEFERRABLE and end-of-statement UNIQUE constraints?
798+
<p> This would allow UPDATE tab SET col = col + 1 to work if col has
799+
a unique index. Currently, uniqueness checks are done while the
800+
command is being executed, rather than at the end of the statement
801+
or transaction.
802+
</p>
798803
</li><li>Allow triggers to be disabled in only the current session.
799804
<p> This is currently possible by starting a multi-statement transaction,
800805
modifying the system tables, performing the desired SQL, restoring the

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy