[DOCS] Predicate Locking

2006-09-01 Thread David Fetter
Folks,

This patch clarifies the 'predicate locking' section in the docs.
Thanks to Harrison Fisk of MySQL AB for helping.

Cheers,
D
-- 
David Fetter <[EMAIL PROTECTED]> http://fetter.org/
phone: +1 415 235 3778AIM: dfetter666
  Skype: davidfetter

Remember to vote!
Index: doc/src/sgml/mvcc.sgml
===
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/mvcc.sgml,v
retrieving revision 2.57
diff -c -r2.57 mvcc.sgml
*** doc/src/sgml/mvcc.sgml  25 Aug 2006 04:06:45 -  2.57
--- doc/src/sgml/mvcc.sgml  1 Sep 2006 17:28:28 -
***
*** 471,477 
  result in problems.  (Certainly the example above is rather contrived
  and unlikely to represent real software.)  Accordingly,
  PostgreSQL does not implement predicate
! locking, and so far as we are aware no other production DBMS does either.
 
  
 
--- 471,480 
  result in problems.  (Certainly the example above is rather contrived
  and unlikely to represent real software.)  Accordingly,
  PostgreSQL does not implement predicate
! locking.  No system based on next-key locking implements it
! either because next-key locking only helps when all your
! predicates are point or range searches against an available
! B-tree index.  DB2, however, does implement predicate locking.
 
  
 

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings


Re: [DOCS] Predicate Locking

2006-09-01 Thread Peter Eisentraut
David Fetter wrote:
> This patch clarifies the 'predicate locking' section in the docs.

What it does it raise the question what "next-key locking is".

I don't think any of this matters for us.  We should just remove the 
part that claims that no other system implements predicate locking.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

---(end of broadcast)---
TIP 9: In versions below 8.0, the planner will ignore your desire to
   choose an index scan if your joining column's datatypes do not
   match