DROP TRIGGER permission - Mailing list pgsql-general

From Philippe Lang
Subject DROP TRIGGER permission
Date
Msg-id 6C0CF58A187DA5479245E0830AF84F420803E3@poweredge.attiksystem.ch
Whole thread Raw
Responses Re: DROP TRIGGER permission
List pgsql-general
Hello,

Dropping a trigger is permitted if the user is the owner of the table
for which the trigger is defined.

In a plpgsql function, used by different users, I need to disable some
triggers for a short period of time. With the pgsql user login, I can
succesfully drop and create the trigger again (after locking the tables
for which I drop triggers), but unfortunately this not possible with a
different user login, since they are not the owner of the table.

What could I do in this situation?

Thanks

Philippe Lang

pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: how to query the size of an array in a table
Next
From: Chris Ochs
Date:
Subject: radius authentication