Re: Prevent users to drop triggers applied on table - Mailing list pgsql-general

From John R Pierce
Subject Re: Prevent users to drop triggers applied on table
Date
Msg-id 4BB44B10.3010008@hogranch.com
Whole thread Raw
In response to Prevent users to drop triggers applied on table  (dipti shah <shahdipti1980@gmail.com>)
Responses Re: Prevent users to drop triggers applied on table  (dipti shah <shahdipti1980@gmail.com>)
List pgsql-general
dipti shah wrote:
> Hi,
>
> We have been using a stored procedure which allow users to create
> table. The stored procedure creates actual table, logging tables,
> views, and applies triggers. I want to prevent table owner from
> deleting the triggers applied on table by create table stored
> procedure. Could anyone please suggest me to get way out here.

if you don't want someone to modify tables, including dropping triggers,
then they shouldn't be the owner of it.  the owner has full rights to a
table, including the right to delete it, alter it, etc.



pgsql-general by date:

Previous
From: jose javier parra sanchez
Date:
Subject: Re: Re : Re : Re : Select in temporary table
Next
From: Thomas Kellerer
Date:
Subject: Re: "1-Click" installer problems