mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03: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>
|
<para>
|
||||||
<command>DROP TABLE</command> removes tables from the database.
|
<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">
|
without destroying the table, use <xref linkend="sql-delete">
|
||||||
or <xref linkend="sql-truncate">.
|
or <xref linkend="sql-truncate">.
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user