Re: Prevent users to drop triggers applied on table

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Prevent users to drop triggers applied on table
Date: 2010-04-01 07:28:16
Message-ID: 4BB44B10.3010008@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2010-04-01 07:47:50 Re: "1-Click" installer problems
Previous Message jose javier parra sanchez 2010-04-01 07:26:27 Re: Re : Re : Re : Select in temporary table