Update, add mention of user locking table before MERGE:
authorBruce Momjian
Wed, 16 Nov 2005 18:45:09 +0000 (18:45 +0000)
committerBruce Momjian
Wed, 16 Nov 2005 18:45:09 +0000 (18:45 +0000)
<   so duplicate checking can be easily performed.
>   so duplicate checking can be easily performed.  It is possible to
>   do it without a unique index if we require the user to LOCK the table
>   before the MERGE.

doc/TODO
doc/src/FAQ/TODO.html

index 79748393528a388340b4bfacbf1eaccca2511007..83683348334051b746058cfd8a8a44bcc1b27da8 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -2,7 +2,7 @@
 PostgreSQL TODO List
 ====================
 Current maintainer:    Bruce Momjian ([email protected])
-Last updated:      Wed Nov 16 11:33:25 EST 2005
+Last updated:      Wed Nov 16 13:44:51 EST 2005
 
 The most recent version of this document can be viewed at
 http://www.postgresql.org/docs/faqs.TODO.html.
@@ -373,7 +373,9 @@ SQL Commands
   triggers?)
 
   To implement this cleanly requires that the table have a unique index
-  so duplicate checking can be easily performed.
+  so duplicate checking can be easily performed.  It is possible to
+  do it without a unique index if we require the user to LOCK the table
+  before the MERGE.
 
 * Add NOVICE output level for helpful messages like automatic sequence/index
   creation
index fe0ad23c056a173229526586f5d1b52713857bdf..a3d1050c162c13dcbdd9b01cb4dd30d5dd6c7676 100644 (file)
@@ -8,7 +8,7 @@
 
 

PostgreSQL TODO List

 

Current maintainer:     Bruce Momjian ([email protected])

-Last updated:           Wed Nov 16 11:33:25 EST 2005
+Last updated:           Wed Nov 16 13:44:51 EST 2005
 

 

The most recent version of this document can be viewed at

 http://www.postgresql.org/docs/faqs.TODO.html.
@@ -342,7 +342,9 @@ first.
   
  • Add MERGE command that does UPDATE/DELETE, or on failure, INSERT (rules,
  •    triggers?)
     

      To implement this cleanly requires that the table have a unique index

    -  so duplicate checking can be easily performed.
    +  so duplicate checking can be easily performed.  It is possible to
    +  do it without a unique index if we require the user to LOCK the table
    +  before the MERGE.
     

       
  • Add NOVICE output level for helpful messages like automatic sequence/index
  •    creation