OSDN Git Service

Mention DROP TABLE as well as ALTER TABLE NO INHERIT
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 14 Jun 2011 15:20:52 +0000 (11:20 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 14 Jun 2011 15:27:25 +0000 (11:27 -0400)
... when talking about how good they are in replacement of bulk DELETE
in partitioned setups.

The original wording was a bit confusing.

Per an observation from David Wheeler.

doc/src/sgml/ddl.sgml

index 4c9fc5d..c250fae 100644 (file)
@@ -2332,7 +2332,8 @@ VALUES ('New York', NULL, NULL, 'NY');
      <para>
       Bulk loads and deletes can be accomplished by adding or removing
       partitions, if that requirement is planned into the partitioning design.
-      <command>ALTER TABLE</> is far faster than a bulk operation.
+      <command>ALTER TABLE NO INHERIT</> and <command>DROP TABLE</> are
+      both far faster than a bulk operation.
       It also entirely avoids the <command>VACUUM</command>
       overhead caused by a bulk <command>DELETE</>.
      </para>