Re: [sepgsql 2/3] Add db_schema:search permission checks
Kohei KaiGai <kaigai@kaigai.gr.jp>
From: Kohei KaiGai <kaigai@kaigai.gr.jp>
To: Robert Haas <robertmhaas@gmail.com>
Cc: PgHacker <pgsql-hackers@postgresql.org>
Date: 2013-04-04T12:26:13Z
Lists: pgsql-hackers
Attachments
- sepgsql-v9.3-schema-search-permission.v4.patch (application/octet-stream) patch v9
2013/4/3 Robert Haas <robertmhaas@gmail.com>: > On Tue, Apr 2, 2013 at 2:22 PM, Kohei KaiGai <kaigai@kaigai.gr.jp> wrote: >> OK, please check the attached ones. > > Thanks. I reviewed the schema-search patch and I think it looks > reasonable, but shouldn't we be calling the event OAT_NAMESPACE_SEARCH > rather than OAT_SCHEMA_SEARCH? And, similarly, > ObjectAccessNamespaceSearch and InvokeNamespaceSearchHook? I think > this terminology could be confusing to backend hackers who are used to > seeing the term "namespace" internally when referring to schemas. > OK, I follow the manner of the terminology as we usually call it. The attached patch just replaced things you suggested. I'll also rebase the function-exec permission stuff later. Thanks, -- KaiGai Kohei <kaigai@kaigai.gr.jp>