sepgsql: fix relkind handling on foreign tables
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: 2011-05-22T09:52:39Z
Lists: pgsql-hackers
Attachments
- sepgsql-fix-foreign-table.1.patch (application/octet-stream) patch
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 class. Thanks, -- KaiGai Kohei <kaigai@kaigai.gr.jp>