Remove no-longer-appropriate notes about lack of CASCADE/RESTRICT behavior.
authorTom Lane
Sun, 14 Jul 2002 22:47:56 +0000 (22:47 +0000)
committerTom Lane
Sun, 14 Jul 2002 22:47:56 +0000 (22:47 +0000)
doc/src/sgml/ref/drop_domain.sgml
doc/src/sgml/ref/drop_function.sgml
doc/src/sgml/ref/drop_table.sgml
doc/src/sgml/ref/drop_type.sgml

index b39e249302111ed49f2f8f188e054c45e15a6741..9def5e5c76c76d3d3b5eae7f79329dedef627e14 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -117,20 +117,6 @@ ERROR:  RemoveDomain: type 'domainname
   
  
 
-  Notes
-
-  
-   
-    
-     It is the user's responsibility to remove any operators,
-     functions, aggregates, access methods, and tables that
-     use a deleted domain.
-    
-   
-  
-
  
   Examples
   
index 5aa1b141badd767642995c87fba0a7466634b416..2031536434f74392feaa1f99f317383e6d11a3d9 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -131,11 +131,6 @@ WARNING:  RemoveFunction: Function "name
     
     for information on creating functions.
    
-
-   
-    No checks are made to ensure that types, operators, access
-    methods, or triggers that rely on the function have been removed first.
-   
  
 
  
index 23148ff827d54bd41b5b93b16901a7713943297f..754dccf3e260a4eca731b76d6ae64333565a17a4 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -111,13 +111,11 @@ ERROR: table "name" does not exist
    destroyed, by using DELETE.
   
   
-   If a table being destroyed has secondary indexes on it,
-   they will be removed first. The removal of just a
-   secondary index will not affect the contents of the underlying table.
-  
-  
-   DROP TABLE will also remove any rules or triggers
-   that exist for the target table.
+   DROP TABLE always removes any indexes, rules,
+   triggers, and constraints that exist for the target table.  However,
+   to drop a table that is referenced by a foreign-key constraint of another
+   table, CASCADE must be specified. (CASCADE will remove the foreign-key
+   constraint, not the other table itself.)
   
 
   
index 81cf010bb00e6d6f2ad2e3ec4a88b3f263ef7af6..097a150c0e7ec7826a28348ad4c8978c8efab493 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -114,29 +114,6 @@ ERROR:  RemoveType: type 'typename'
    Only the owner of a type can remove it.
   
  
-
-  Notes
-
-  
-   
-    
-     It is the user's responsibility to remove any operators,
-     functions, aggregates, access methods, subtypes, and tables that
-     use a deleted type.  However, the associated array data type
-     (which was automatically created by CREATE TYPE)
-     will be removed automatically.
-    
-   
-
-   
-    
-     If a built-in type is removed, the behavior of the server is
-     unpredictable.
-    
-   
-  
   
  
   Examples