1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00

Update SQL-command reference pages for schema features.

This commit is contained in:
Tom Lane
2002-04-23 02:07:16 +00:00
parent 5dd1c713d0
commit 0c1fe3d2b9
38 changed files with 366 additions and 205 deletions

View File

@@ -1,5 +1,5 @@
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_table.sgml,v 1.13 2002/04/21 19:02:39 thomas Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_table.sgml,v 1.14 2002/04/23 02:07:16 tgl Exp $
PostgreSQL documentation
-->
@@ -37,7 +37,7 @@ DROP TABLE <replaceable class="PARAMETER">name</replaceable> [, ...]
<term><replaceable class="PARAMETER">name</replaceable></term>
<listitem>
<para>
The name of an existing table to drop.
The name (optionally schema-qualified) of an existing table to drop.
</para>
</listitem>
</varlistentry>
@@ -88,14 +88,18 @@ ERROR: table "<replaceable class="parameter">name</replaceable>" does not exist
</title>
<para>
<command>DROP TABLE</command> removes tables from the database.
Only its owner may destroy a table. A table
may be emptied of rows, but not destroyed, by using <command>DELETE</command>.
Only its owner may destroy a table. A table may be emptied of rows, but not
destroyed, by using <command>DELETE</command>.
</para>
<para>
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.
</para>
<para>
<command>DROP TABLE</command> will also remove any rules or triggers
that exist for the target table.
</para>
<refsect2 id="R2-SQL-DROPTABLE-3">
<refsect2info>
@@ -166,7 +170,7 @@ DROP TABLE <replaceable class="parameter">table</replaceable> { RESTRICT | CASCA
</variablelist>
<tip>
<para>
At present, to remove a referenced view you must drop
At present, to remove a referencing view you must drop
it explicitly.
</para>
</tip>