From c4fb2b4e9e19b097575d4ca7d788faf927eabf64 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 14 Jul 2002 22:47:56 +0000 Subject: [PATCH] Remove no-longer-appropriate notes about lack of CASCADE/RESTRICT behavior. --- doc/src/sgml/ref/drop_domain.sgml | 16 +--------------- doc/src/sgml/ref/drop_function.sgml | 7 +------ doc/src/sgml/ref/drop_table.sgml | 14 ++++++-------- doc/src/sgml/ref/drop_type.sgml | 25 +------------------------ 4 files changed, 9 insertions(+), 53 deletions(-) diff --git a/doc/src/sgml/ref/drop_domain.sgml b/doc/src/sgml/ref/drop_domain.sgml index b39e249302..9def5e5c76 100644 --- a/doc/src/sgml/ref/drop_domain.sgml +++ b/doc/src/sgml/ref/drop_domain.sgml @@ -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 diff --git a/doc/src/sgml/ref/drop_function.sgml b/doc/src/sgml/ref/drop_function.sgml index 5aa1b141ba..2031536434 100644 --- a/doc/src/sgml/ref/drop_function.sgml +++ b/doc/src/sgml/ref/drop_function.sgml @@ -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. - diff --git a/doc/src/sgml/ref/drop_table.sgml b/doc/src/sgml/ref/drop_table.sgml index 23148ff827..754dccf3e2 100644 --- a/doc/src/sgml/ref/drop_table.sgml +++ b/doc/src/sgml/ref/drop_table.sgml @@ -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.) diff --git a/doc/src/sgml/ref/drop_type.sgml b/doc/src/sgml/ref/drop_type.sgml index 81cf010bb0..097a150c0e 100644 --- a/doc/src/sgml/ref/drop_type.sgml +++ b/doc/src/sgml/ref/drop_type.sgml @@ -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 -- 2.11.0