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 D44F352835 for ; Sun, 12 Jun 2005 12:04:08 -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 92976-04 for ; Sun, 12 Jun 2005 15:04:07 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 4462A5281E for ; Sun, 12 Jun 2005 12:04:04 -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 j5CF42lY023769; Sun, 12 Jun 2005 11:04:03 -0400 (EDT) To: Daniel Roth Cc: pgsql-sql@postgresql.org Subject: Re: predicate locking In-reply-to: <71038fca05061203395e5a2613@mail.gmail.com> References: <71038fca05061203395e5a2613@mail.gmail.com> Comments: In-reply-to Daniel Roth message dated "Sun, 12 Jun 2005 18:39:34 +0800" Date: Sun, 12 Jun 2005 11:04:02 -0400 Message-ID: <23768.1118588642@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/155 X-Sequence-Number: 21756 Daniel Roth writes: > But MSSQL (SQL Server) does predicate locking. > Places a range lock on the data set, preventing other users from > updating or inserting rows into the data set until the transaction is > complete. This is the most restrictive of the four isolation levels. Range locks are a far cry from general predicate locks. regards, tom lane PS: kindly don't email me privately while posting the same message to the lists. You think I have time to answer things twice?