From: Michael Paquier Date: Wed, 15 Jul 2020 00:42:21 +0000 (+0900) Subject: Fix compilation failure with sepgsql X-Git-Tag: REL_14_BETA1~1982 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e949137397383de58f0c566f5a92b017343c5269;p=thirdparty%2Fpostgresql.git Fix compilation failure with sepgsql One change for getObjectIdentity() has been missed in 2a10fdc, causing the module to not compile properly. This was actually the only problem, and it happens that it is easy enough to check the compilation of the module on Debian after installing libselinux1-dev. Per buildfarm member rhinoceros. --- diff --git a/contrib/sepgsql/relation.c b/contrib/sepgsql/relation.c index b50f386f5b3..96c57854a21 100644 --- a/contrib/sepgsql/relation.c +++ b/contrib/sepgsql/relation.c @@ -546,7 +546,7 @@ sepgsql_relation_truncate(Oid relOid) object.classId = RelationRelationId; object.objectId = relOid; object.objectSubId = 0; - audit_name = getObjectIdentity(&object); + audit_name = getObjectIdentity(&object, false); sepgsql_avc_check_perms(&object, tclass,