Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit26b9a28

Browse files
committed
Document that only a table's owner may TRUNCATE it. Per Keith Worthington.
1 parent5a9dd0d commit26b9a28

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎doc/src/sgml/ref/truncate.sgml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/truncate.sgml,v 1.18 2005/01/27 03:17:08 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/truncate.sgml,v 1.19 2005/02/22 19:06:18 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -53,6 +53,10 @@ TRUNCATE [ TABLE ] <replaceable class="PARAMETER">name</replaceable> [, ...]
5353
<refsect1>
5454
<title>Notes</title>
5555

56+
<para>
57+
Only the owner of a table may <command>TRUNCATE</> it.
58+
</para>
59+
5660
<para>
5761
<command>TRUNCATE</> cannot be used on a table that has foreign-key
5862
references from other tables, unless all such tables are also truncated

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp