Fix markup for terminology.
authorThomas G. Lockhart
Tue, 28 Mar 2000 14:35:27 +0000 (14:35 +0000)
committerThomas G. Lockhart
Tue, 28 Mar 2000 14:35:27 +0000 (14:35 +0000)
doc/src/sgml/ref/lock.sgml

index 175d6e0b25db7ce3b2229adbcf1b9ab7fc8e9581..f427eb133c3ff7484fea242a88dead38658bc948 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -224,74 +224,64 @@ ERROR name: Table does not exist.
   </div> <div class="diff ctx">    Description</div> <div class="diff ctx">   
-   </div> <div class="diff rem">-    Terms</div> <div class="diff rem">-   
-   
-    
-     
-      EXCLUSIVE
-      
-       
-   Exclusive lock that prevents other locks from being granted.
-       
-      
-     
-    
-
-    
-     
-      SHARE
-      
-       
-   Allows others to share lock.  Prevents EXCLUSIVE locks.
-       
-      
-     
-    
-
-    
-     
-      ACCESS
-      
-       
-   Locks table schema.
-       
-      
-     
-    
-
-    
-     
-      ROW
-      
-       
-   Locks individual rows.
-       
-      
-     
-    
-
-    
-     
-      Notes
-      
-       
-   If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
-   Locks exist for the duration of the transaction.
-       
-      
-     
-    
-
-   
 
   
+   LOCK TABLE controls concurrent access to a table
+   for the duration of a transaction.
    Postgres always uses the least restrictive
    lock mode whenever possible. LOCK TABLE 
    provided for cases when you might need more restrictive locking.
   
 
+  
+   RDBMS locking uses the following terminology:
+
+   
+    
+     EXCLUSIVE
+     
+      
+       Exclusive lock that prevents other locks from being granted.
+      
+     
+    
+
+    
+     SHARE
+     
+      
+       Allows others to share lock.  Prevents EXCLUSIVE locks.
+      
+     
+    
+
+    
+     ACCESS
+     
+      
+       Locks table schema.
+      
+     
+    
+
+    
+     ROW
+     
+      
+       Locks individual rows.
+      
+     
+    
+   
+
+   
+    
+     If EXCLUSIVE or SHARE are not specified, EXCLUSIVE is assumed.
+     Locks exist for the duration of the transaction.
+    
+   
+  
+
   
    For example, an application runs a transaction at READ COMMITTED isolation
    level and needs to ensure the existance of data in a table for the