mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Various sepgsql corrections.
KaiGai Kohei
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "catalog/dependency.h"
|
||||
#include "catalog/pg_namespace.h"
|
||||
#include "commands/seclabel.h"
|
||||
#include "utils/lsyscache.h"
|
||||
@ -68,7 +69,7 @@ sepgsql_schema_relabel(Oid namespaceId, const char *seclabel)
|
||||
char *tcontext;
|
||||
char *audit_name;
|
||||
|
||||
audit_name = get_namespace_name(namespaceId);
|
||||
audit_name = getObjectDescriptionOids(NamespaceRelationId, namespaceId);
|
||||
|
||||
/*
|
||||
* check db_schema:{setattr relabelfrom} permission
|
||||
|
Reference in New Issue
Block a user