mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Document who can drop a table (owner and user with permissions).
This commit is contained in:
parent
4c32f81766
commit
cf72528e87
@ -30,7 +30,8 @@ DROP TABLE [ IF EXISTS ] <replaceable class="PARAMETER">name</replaceable> [, ..
|
||||
|
||||
<para>
|
||||
<command>DROP TABLE</command> removes tables from the database.
|
||||
Only its owner can drop a table. To empty a table of rows
|
||||
Only its owner and users with the proper permissions can drop a
|
||||
table. To empty a table of rows
|
||||
without destroying the table, use <xref linkend="sql-delete">
|
||||
or <xref linkend="sql-truncate">.
|
||||
</para>
|
||||
|
Loading…
Reference in New Issue
Block a user