On Tue, Oct 26, 2010 at 11:34 AM, David Fetter <david(at)fetter(dot)org> wrote:
>> Do we need to 'add' it?
> Possibly. My understanding is that it couldn't really replace it.
Ah, I see. I was wrong. We can have modification privileges for views
even if they have no INSTEAD OF triggers.
So, I think your original patch is the best solution. We could use
has_table_privilege() additionally, but we need to consider any
other places if we use it. For example, DROP privileges, etc.
In response to
pgsql-hackers by date
|Next:||From: Itagaki Takahiro||Date: 2010-10-26 03:21:32|
|Subject: Re: Extensible executor nodes for preparation of SQL/MED|
|Previous:||From: kaigai||Date: 2010-10-26 02:51:03|
|Subject: Re: security hook on authorization|