Thread: REVOKE DROP tables

REVOKE DROP tables

From
"F. Kleinpaul"
Date:
How can I REVOKE users right to DROP tables?

Thanks
FKleinpaul

Re: REVOKE DROP tables

From
Tom Lane
Date:
"F. Kleinpaul" <fkleinpaul@gmail.com> 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

From
Bruno Wolff III
Date:
On Sat, Sep 02, 2006 at 08:33:52 -0300,
  "F. Kleinpaul" <fkleinpaul@gmail.com> 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.