mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Make a mention of the new TRUNCATE command.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/delete.sgml,v 1.7 1999/07/22 15:09:09 thomas Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/ref/delete.sgml,v 1.8 1999/10/01 15:24:46 thomas Exp $
|
||||||
Postgres documentation
|
Postgres documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ Postgres documentation
|
|||||||
DELETE
|
DELETE
|
||||||
</refname>
|
</refname>
|
||||||
<refpurpose>
|
<refpurpose>
|
||||||
Deletes rows from a table
|
Removes rows from a table
|
||||||
</refpurpose>
|
</refpurpose>
|
||||||
|
|
||||||
</refnamediv>
|
</refnamediv>
|
||||||
@ -108,6 +108,14 @@ DELETE <replaceable class="parameter">count</replaceable>
|
|||||||
If the <firstterm>condition</firstterm> (WHERE clause) is absent,
|
If the <firstterm>condition</firstterm> (WHERE clause) is absent,
|
||||||
the effect is to delete all rows in the table.
|
the effect is to delete all rows in the table.
|
||||||
The result is a valid, but empty table.
|
The result is a valid, but empty table.
|
||||||
|
|
||||||
|
<tip>
|
||||||
|
<para>
|
||||||
|
<xref linkend="sql-truncate" endterm="squ-truncate-title"> is a
|
||||||
|
<productname>Postgres</productname> extension which provides a
|
||||||
|
faster mechanism to remove all rows from a table.
|
||||||
|
</para>
|
||||||
|
</tip>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Reference in New Issue
Block a user