[v9.2] SECURITY LABEL on shared database object
Kohei Kaigai <kohei.kaigai@emea.nec.com>
From: Kohei Kaigai <Kohei.Kaigai@EMEA.NEC.COM>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2011-05-09T10:23:31Z
Lists: pgsql-hackers
Attachments
- pgsql-shared-security-label.1.patch (application/octet-stream) patch
The attached patch enables to assign security labels on shared database object types (database, tablespace, role). As pg_description stuff doing, it adds a new pg_shseclabel catalog to store related labels. Its internal APIs are kept. If and when (Get|Set|Delete)SecurityLabel is invoked for the shared catalogs, it references the pg_shseclabel instead of the pg_seclabel. This patch also contains pg_dump support, actual use cases (contrib/sepgsql), regression tests and updates of sgml documentation. Thanks, -- NEC Europe Ltd, SAP Global Competence Center KaiGai Kohei <kohei.kaigai@eu.nec.com>