Unix Technical Forum

REVOKE DROP tables

This is a discussion on REVOKE DROP tables within the pgsql Admins forums, part of the PostgreSQL category; --> How can I REVOKE users right to DROP tables? Thanks FKleinpaul...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 07:34 AM
F. Kleinpaul
 
Posts: n/a
Default REVOKE DROP tables

How can I REVOKE users right to DROP tables?

Thanks
FKleinpaul

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 07:34 AM
Tom Lane
 
Posts: n/a
Default Re: REVOKE DROP tables

"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

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 07:34 AM
Bruno Wolff III
 
Posts: n/a
Default Re: REVOKE DROP tables

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.

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:42 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com