Re: BUG #13651: trigger security invoker attack - Mailing list pgsql-bugs

From 德哥
Subject Re: BUG #13651: trigger security invoker attack
Date
Msg-id 1ad9dff4.9584.1501d0f6c58.Coremail.digoal@126.com
Whole thread Raw
In response to Re: BUG #13651: trigger security invoker attack  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-bugs
HI,
If we can change the function's security dynamical, like : 
    When function trigged in trigger or rule, force these function's security =  table,mview,view's owner.
There will no risks in the case.

PS: MySQL do that.

pgsql-bugs by date:

Previous
From: 德哥
Date:
Subject: Re: BUG #13651: trigger security invoker attack
Next
From: marc hamelin
Date:
Subject: postgresql 9.4 with nested "order by"