Re: [HACKERS] sepgsql: fix relkind handling on foreign tables

2011-05-24 Thread Robert Haas
On Tue, May 24, 2011 at 6:57 AM, Kohei KaiGai wrote: > 2011/5/23 Robert Haas : >> On Sun, May 22, 2011 at 5:52 AM, Kohei KaiGai wrote: >>> The attached patch fixes up case handling in foreign tables. >>> >>> Now it didn't assign security label on foreign table on its creation >>> time, and didn't

Re: [HACKERS] sepgsql: fix relkind handling on foreign tables

2011-05-24 Thread Kohei KaiGai
2011/5/23 Robert Haas : > On Sun, May 22, 2011 at 5:52 AM, Kohei KaiGai wrote: >> The attached patch fixes up case handling in foreign tables. >> >> Now it didn't assign security label on foreign table on its creation >> time, and didn't check access rights on the dml hook. >> This patch fixes the

Re: [HACKERS] sepgsql: fix relkind handling on foreign tables

2011-05-23 Thread Robert Haas
On Sun, May 22, 2011 at 5:52 AM, Kohei KaiGai wrote: > The attached patch fixes up case handling in foreign tables. > > Now it didn't assign security label on foreign table on its creation > time, and didn't check access rights on the dml hook. > This patch fixes these problems; It allows foreign

[HACKERS] sepgsql: fix relkind handling on foreign tables

2011-05-22 Thread Kohei KaiGai
The attached patch fixes up case handling in foreign tables. Now it didn't assign security label on foreign table on its creation time, and didn't check access rights on the dml hook. This patch fixes these problems; It allows foreign tables default labeling and access checks as db_table object cl