[v9.2] SECURITY LABEL on shared database object

From: Kohei Kaigai <Kohei(dot)Kaigai(at)EMEA(dot)NEC(dot)COM>
To: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: [v9.2] SECURITY LABEL on shared database object
Date: 2011-05-09 14:57:30
Message-ID: A9F5079BABDEE646AEBDB6831725762C55601119D2@EUEXCLU01.EU.NEC.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

[I noticed my new address was not registered to pgsql-hackers, so try again]

The attached patch enables to assign security labels of shared database object
types (databases, tablespaces, roles).
Like as pg_shdescription doing, it adds a new pg_shseclabel catalog corresponding
to the existing pg_seclabel catalog. Its internal APIs are kept; if and when
(Get|Set|Delete)SecurityLabel is invoked for shared catalogs, it references the
pg_shseclabel instead of the pg_seclabel.

This patch also contains pg_dump support, use cases of contrib/sepgsql, regression
test and updates of sgml documentation.

Thanks,
--
NEC Europe Ltd, SAP Global Competence Center
KaiGai Kohei <kohei(dot)kaigai(at)eu(dot)nec(dot)com>

Attachment Content-Type Size
pgsql-shared-security-label.1.patch application/octet-stream 66.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2011-05-09 14:58:07 Re: Formatting Curmudgeons WAS: MMAP Buffers
Previous Message Robert Haas 2011-05-09 14:56:20 Re: Backpatching of "Teach the regular expression functions to do case-insensitive matching"