Skip site navigation (1) Skip section navigation (2)

Re: Tab completion for view triggers in psql

From: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Tab completion for view triggers in psql
Date: 2010-10-26 02:55:07
Message-ID: AANLkTi=6WS5rP_Y2CCY1MbnJ5ibceC92f1E87gtjnZCA@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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.

-- 
Itagaki Takahiro

In response to

Responses

pgsql-hackers by date

Next:From: Itagaki TakahiroDate: 2010-10-26 03:21:32
Subject: Re: Extensible executor nodes for preparation of SQL/MED
Previous:From: kaigaiDate: 2010-10-26 02:51:03
Subject: Re: security hook on authorization

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group