sepgsql: fix relkind handling on foreign tables

From: Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: PgHacker <pgsql-hackers(at)postgresql(dot)org>
Subject: sepgsql: fix relkind handling on foreign tables
Date: 2011-05-22 09:52:39
Message-ID: BANLkTiknBKHGt=MHF9HmZ5=p-kAeDdpgaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)kaigai(dot)gr(dot)jp>

Attachment Content-Type Size
sepgsql-fix-foreign-table.1.patch application/octet-stream 4.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message MauMau 2011-05-22 10:18:55 Do you recommend 8.4 or 9.0 for basic usage?
Previous Message Marios Vodas 2011-05-22 08:39:41 Compile plPython for Python 3.2