Re: Command Triggers - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Command Triggers
Date
Msg-id 201112022309.47363.andres@anarazel.de
Whole thread Raw
In response to Command Triggers  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Responses Re: Command Triggers  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Hi all,

There is also the point about how permission checks on the actual commands (in 
comparison of modifying command triggers) and such are handled:

BEFORE and INSTEAD will currently be called independently of the fact whether 
the user is actually allowed to do said action (which is inconsistent with 
data triggers) and indepentent of whether the object they concern exists.

I wonder if anybody considers that a problem?

Andres


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Patch - Debug builds without optimization
Next
From: Robert Haas
Date:
Subject: clog buffers (and FlexLocks)