Document that only a table's owner may TRUNCATE it. Per Keith Worthington.
This commit is contained in:
parent
5a9dd0dc4f
commit
26b9a2860f
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/ref/truncate.sgml,v 1.18 2005/01/27 03:17:08 tgl Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/ref/truncate.sgml,v 1.19 2005/02/22 19:06:18 tgl Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -53,6 +53,10 @@ TRUNCATE [ TABLE ] <replaceable class="PARAMETER">name</replaceable> [, ...]
|
|||||||
<refsect1>
|
<refsect1>
|
||||||
<title>Notes</title>
|
<title>Notes</title>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Only the owner of a table may <command>TRUNCATE</> it.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<command>TRUNCATE</> cannot be used on a table that has foreign-key
|
<command>TRUNCATE</> cannot be used on a table that has foreign-key
|
||||||
references from other tables, unless all such tables are also truncated
|
references from other tables, unless all such tables are also truncated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user