REVOKE DROP tables

Поиск
Список
Период
Сортировка
Искать

REVOKE DROP tables

От:
"F. Kleinpaul" <fkleinpaul@gmail.com>
Дата:
How can I REVOKE users right to DROP tables?

Thanks
FKleinpaul

Re: REVOKE DROP tables

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"F. Kleinpaul"  writes:
> How can I REVOKE users right to DROP tables?

Only the owner can drop a table.  Perhaps you are looking for
ALTER TABLE ... OWNER ?

			regards, tom lane

Re: REVOKE DROP tables

От:
Bruno Wolff III <bruno@wolff.to>
Дата:
On Sat, Sep 02, 2006 at 08:33:52 -0300,
  "F. Kleinpaul"  wrote:
> How can I REVOKE users right to DROP tables?

The owner of a table can always drop it. So you would need to change
the owner of the table using ALTER TABLE table_name OWNER TO new_owner.
FAQ