Add comment on old sytax for SELECT FOR UPDATE/LIMIT and COPY.
authorBruce Momjian
Fri, 30 Aug 2002 03:18:23 +0000 (03:18 +0000)
committerBruce Momjian
Fri, 30 Aug 2002 03:18:23 +0000 (03:18 +0000)
doc/src/sgml/ref/copy.sgml
doc/src/sgml/ref/select.sgml

index 7048636171e1738bbf4c97586f14acd293d1353e..c5c8fcbb94749ec536c72c01757f66fe23b20c2b 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -56,7 +56,7 @@ COPY table [ ( 
       
      
      
-        
+     
       column
       
        
@@ -699,6 +699,19 @@ ZW      ZIMBABWE
    
     There is no COPY statement in SQL92.
    
+   
+    The following syntax was used by pre-7.3 servers and is still supported:
+    
+    COPY [ BINARY ] table [ WITH OIDS ]
+        FROM { 'filename' | stdin }
+        [ [USING] DELIMITERS 'delimiter' ]
+        [ WITH NULL AS 'null string' ]
+    COPY [ BINARY ] table [ WITH OIDS ]
+        TO { 'filename' | stdout }
+        [ [USING] DELIMITERS 'delimiter' ]
+        [ WITH NULL AS 'null string' ]
+    
+   
   
  
 
index f6dd0397570a318f3aca20cd509b6450ae0eee87..1feaa6f7b480211707a1e07e129f9c7b2ef46db8 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -868,7 +868,8 @@ SELECT name FROM distributors ORDER BY code;
    
     FOR UPDATE cannot be used in contexts where returned rows can't be clearly
     identified with individual table rows; for example it can't be used with
-    aggregation.
+    aggregation.  FOR UPDATE may also appear before LIMIT for portability with
+    pre-7.3 servers.