diff --git a/contrib/sepgsql/label.cpp b/contrib/sepgsql/label.cpp index 8e04c94ed..32cb757fa 100644 --- a/contrib/sepgsql/label.cpp +++ b/contrib/sepgsql/label.cpp @@ -683,7 +683,7 @@ static void exec_object_restorecon(struct selabel_handle* sehnd, Oid catalogId) objtype = SELABEL_DB_TABLE; else if (RELKIND_IS_SEQUENCE(relForm->relkind)) objtype = SELABEL_DB_SEQUENCE; - else if (relForm->relkind == RELKIND_VIEW || (relForm->relkind == RELKIND_CONTQUERY) + else if (relForm->relkind == RELKIND_VIEW || (relForm->relkind == RELKIND_CONTQUERY)) objtype = SELABEL_DB_VIEW; else continue; /* no need to assign security label */