Re: Triggers with DO functionality - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Triggers with DO functionality
Date
Msg-id 1330112431.32452.21.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Triggers with DO functionality  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On fre, 2012-02-24 at 14:27 -0500, Tom Lane wrote:
> (Thinks some more...)  Actually, the point of SECURITY DEFINER on a
> trigger function is to run as somebody other than the table owner,
> to wit the function owner.  And with an anonymous function there
> couldn't be any other owner.  So I guess there is no need for this
> clause in this context.

You're right.  The whole clause will be useless in this case.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Triggers with DO functionality
Next
From: "Kevin Grittner"
Date:
Subject: Re: Triggers with DO functionality