On Tue, Oct 26, 2010 at 10:53 AM, David Fetter <da...@fetter.org> wrote: >> How about has_table_privilege() to filter candidate relations > > That's orthogonal to tgtype (snip) > Shall I send a new patch with that added?
Do we need to 'add' it? I intended to replace the JOIN with pg_trigger to has_table_privilege() (and relkind IN ('r', 'v')) for INSERT, UPDATE, and DELETE cases. Query_for_list_of_writeables might still require your patch, though. -- Itagaki Takahiro -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers