Skip to content

Commit 247fd81

Browse files
committed
Mention DROP TABLE as well as ALTER TABLE NO INHERIT
... 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.
1 parent a03f1d3 commit 247fd81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/ddl.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2320,7 +2320,8 @@ VALUES ('New York', NULL, NULL, 'NY');
23202320
<para>
23212321
Bulk loads and deletes can be accomplished by adding or removing
23222322
partitions, if that requirement is planned into the partitioning design.
2323-
<command>ALTER TABLE</> is far faster than a bulk operation.
2323+
<command>ALTER TABLE NO INHERIT</> and <command>DROP TABLE</> are
2324+
both far faster than a bulk operation.
23242325
It also entirely avoids the <command>VACUUM</command>
23252326
overhead caused by a bulk <command>DELETE</>.
23262327
</para>

0 commit comments

Comments
 (0)