DROP TRIGGER permission

From: "Philippe Lang" <philippe(dot)lang(at)attiksystem(dot)ch>
To: <pgsql-general(at)postgresql(dot)org>
Subject: DROP TRIGGER permission
Date: 2004-09-06 08:23:49
Message-ID: 6C0CF58A187DA5479245E0830AF84F420803E3@poweredge.attiksystem.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Ochs 2004-09-06 08:28:38 radius authentication
Previous Message Joe Conway 2004-09-06 04:40:54 Re: how to query the size of an array in a table