Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc4fb2b4

Browse files
committed
Remove no-longer-appropriate notes about lack of CASCADE/RESTRICT behavior.
1 parentdf3f5df commitc4fb2b4

File tree

4 files changed

+9
-53
lines changed

4 files changed

+9
-53
lines changed

‎doc/src/sgml/ref/drop_domain.sgml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_domain.sgml,v 1.7 2002/07/12 18:43:13 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_domain.sgml,v 1.8 2002/07/14 22:47:56 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -117,20 +117,6 @@ ERROR: RemoveDomain: type '<replaceable class="parameter">domainname</replaceab
117117
</para>
118118
</refsect1>
119119

120-
<refsect1 id="SQL-DROPDOMAIN-notes">
121-
<title>Notes</title>
122-
123-
<itemizedlist>
124-
<listitem>
125-
<para>
126-
It is the user's responsibility to remove any operators,
127-
functions, aggregates, access methods, and tables that
128-
use a deleted domain.
129-
</para>
130-
</listitem>
131-
</itemizedlist>
132-
</refsect1>
133-
134120
<refsect1 id="SQL-DROPDOMAIN-examples">
135121
<title>Examples</title>
136122
<para>

‎doc/src/sgml/ref/drop_function.sgml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_function.sgml,v 1.21 2002/07/12 18:43:13 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_function.sgml,v 1.22 2002/07/14 22:47:56 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -131,11 +131,6 @@ WARNING: RemoveFunction: Function "<replaceable class="parameter">name</replace
131131
<xref linkend="sql-createfunction">
132132
for information on creating functions.
133133
</para>
134-
135-
<para>
136-
No checks are made to ensure that types, operators, access
137-
methods, or triggers that rely on the function have been removed first.
138-
</para>
139134
</refsect1>
140135

141136
<refsect1 id="SQL-DROPFUNCTION-examples">

‎doc/src/sgml/ref/drop_table.sgml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_table.sgml,v 1.16 2002/07/12 18:43:13 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_table.sgml,v 1.17 2002/07/14 22:47:56 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -111,13 +111,11 @@ ERROR: table "<replaceable class="parameter">name</replaceable>" does not exist
111111
destroyed, by using <command>DELETE</command>.
112112
</para>
113113
<para>
114-
If a table being destroyed has secondary indexes on it,
115-
they will be removed first. The removal of just a
116-
secondary index will not affect the contents of the underlying table.
117-
</para>
118-
<para>
119-
<command>DROP TABLE</command> will also remove any rules or triggers
120-
that exist for the target table.
114+
<command>DROP TABLE</command> always removes any indexes, rules,
115+
triggers, and constraints that exist for the target table. However,
116+
to drop a table that is referenced by a foreign-key constraint of another
117+
table, CASCADE must be specified. (CASCADE will remove the foreign-key
118+
constraint, not the other table itself.)
121119
</para>
122120

123121
<refsect2 id="R2-SQL-DROPTABLE-3">

‎doc/src/sgml/ref/drop_type.sgml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_type.sgml,v 1.18 2002/07/12 18:43:13 tgl Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_type.sgml,v 1.19 2002/07/14 22:47:56 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -114,29 +114,6 @@ ERROR: RemoveType: type '<replaceable class="parameter">typename</replaceable>'
114114
Only the owner of a type can remove it.
115115
</para>
116116
</refsect1>
117-
118-
<refsect1 id="SQL-DROPTYPE-notes">
119-
<title>Notes</title>
120-
121-
<itemizedlist>
122-
<listitem>
123-
<para>
124-
It is the user's responsibility to remove any operators,
125-
functions, aggregates, access methods, subtypes, and tables that
126-
use a deleted type. However, the associated array data type
127-
(which was automatically created by <command>CREATE TYPE</command>)
128-
will be removed automatically.
129-
</para>
130-
</listitem>
131-
132-
<listitem>
133-
<para>
134-
If a built-in type is removed, the behavior of the server is
135-
unpredictable.
136-
</para>
137-
</listitem>
138-
</itemizedlist>
139-
</refsect1>
140117

141118
<refsect1 id="SQL-DROPTYPE-examples">
142119
<title>Examples</title>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp