X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 149B052908 for ; Mon, 13 Jun 2005 00:04:43 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 81953-02 for ; Mon, 13 Jun 2005 03:04:34 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id A7CB8528C6 for ; Mon, 13 Jun 2005 00:04:33 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j5D34Taj010451; Sun, 12 Jun 2005 23:04:29 -0400 (EDT) To: Daniel Roth Cc: pgsql-sql@postgresql.org Subject: Re: predicate locking In-reply-to: <71038fca0506121916764f5b33@mail.gmail.com> References: <71038fca05061203395e5a2613@mail.gmail.com> <23768.1118588642@sss.pgh.pa.us> <71038fca0506121916764f5b33@mail.gmail.com> Comments: In-reply-to Daniel Roth message dated "Mon, 13 Jun 2005 10:16:44 +0800" Date: Sun, 12 Jun 2005 23:04:29 -0400 Message-ID: <10450.1118631869@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/157 X-Sequence-Number: 21758 Daniel Roth writes: > It sates: "To guarantee true mathematical serializability, it is > necessary for a database system to enforce predicate locking, which > means that a transaction cannot insert or modify a row that would have > matched the WHERE condition of a query in another concurrent > transaction" > Now that is exactly whats happens when you use SERIALIZABLE is MSSQL. Only for WHERE conditions that can be expressed as a simple range constraint. > All I am trying to do is correct the help documentation - 12.2.2.1 "so > far as we are aware no other production DBMS does either." The documentation is not wrong; or at least, what you've quoted does not show that it is. regards, tom lane