@@ -3125,7 +3125,7 @@ object_aclmask_ext(Oid classid, Oid objectid, Oid roleid,
31253125result = aclmask (acl , roleid , ownerId , mask , how );
31263126
31273127/* if we have a detoasted copy, free it */
3128- if (acl && ( Pointer ) acl != DatumGetPointer (aclDatum ))
3128+ if (acl && acl != DatumGetPointer (aclDatum ))
31293129pfree (acl );
31303130
31313131ReleaseSysCache (tuple );
@@ -3255,7 +3255,7 @@ pg_attribute_aclmask_ext(Oid table_oid, AttrNumber attnum, Oid roleid,
32553255result = aclmask (acl , roleid , ownerId , mask , how );
32563256
32573257/* if we have a detoasted copy, free it */
3258- if (acl && ( Pointer ) acl != DatumGetPointer (aclDatum ))
3258+ if (acl && acl != DatumGetPointer (aclDatum ))
32593259pfree (acl );
32603260
32613261ReleaseSysCache (attTuple );
@@ -3362,7 +3362,7 @@ pg_class_aclmask_ext(Oid table_oid, Oid roleid, AclMode mask,
33623362result = aclmask (acl , roleid , ownerId , mask , how );
33633363
33643364/* if we have a detoasted copy, free it */
3365- if (acl && ( Pointer ) acl != DatumGetPointer (aclDatum ))
3365+ if (acl && acl != DatumGetPointer (aclDatum ))
33663366pfree (acl );
33673367
33683368ReleaseSysCache (tuple );
@@ -3454,7 +3454,7 @@ pg_parameter_aclmask(const char *name, Oid roleid, AclMode mask, AclMaskHow how)
34543454result = aclmask (acl , roleid , BOOTSTRAP_SUPERUSERID , mask , how );
34553455
34563456/* if we have a detoasted copy, free it */
3457- if (acl && ( Pointer ) acl != DatumGetPointer (aclDatum ))
3457+ if (acl && acl != DatumGetPointer (aclDatum ))
34583458pfree (acl );
34593459
34603460ReleaseSysCache (tuple );
@@ -3509,7 +3509,7 @@ pg_parameter_acl_aclmask(Oid acl_oid, Oid roleid, AclMode mask, AclMaskHow how)
35093509result = aclmask (acl , roleid , BOOTSTRAP_SUPERUSERID , mask , how );
35103510
35113511/* if we have a detoasted copy, free it */
3512- if (acl && ( Pointer ) acl != DatumGetPointer (aclDatum ))
3512+ if (acl && acl != DatumGetPointer (aclDatum ))
35133513pfree (acl );
35143514
35153515ReleaseSysCache (tuple );
@@ -3589,7 +3589,7 @@ pg_largeobject_aclmask_snapshot(Oid lobj_oid, Oid roleid,
35893589result = aclmask (acl , roleid , ownerId , mask , how );
35903590
35913591/* if we have a detoasted copy, free it */
3592- if (acl && ( Pointer ) acl != DatumGetPointer (aclDatum ))
3592+ if (acl && acl != DatumGetPointer (aclDatum ))
35933593pfree (acl );
35943594
35953595systable_endscan (scan );
@@ -3683,7 +3683,7 @@ pg_namespace_aclmask_ext(Oid nsp_oid, Oid roleid,
36833683result = aclmask (acl , roleid , ownerId , mask , how );
36843684
36853685/* if we have a detoasted copy, free it */
3686- if (acl && ( Pointer ) acl != DatumGetPointer (aclDatum ))
3686+ if (acl && acl != DatumGetPointer (aclDatum ))
36873687pfree (acl );
36883688
36893689ReleaseSysCache (tuple );
@@ -3819,7 +3819,7 @@ pg_type_aclmask_ext(Oid type_oid, Oid roleid, AclMode mask, AclMaskHow how,
38193819result = aclmask (acl , roleid , ownerId , mask , how );
38203820
38213821/* if we have a detoasted copy, free it */
3822- if (acl && ( Pointer ) acl != DatumGetPointer (aclDatum ))
3822+ if (acl && acl != DatumGetPointer (aclDatum ))
38233823pfree (acl );
38243824
38253825ReleaseSysCache (tuple );
@@ -4003,7 +4003,7 @@ pg_attribute_aclcheck_all_ext(Oid table_oid, Oid roleid,
40034003attmask = aclmask (acl , roleid , ownerId , mode , ACLMASK_ANY );
40044004
40054005/* if we have a detoasted copy, free it */
4006- if (( Pointer ) acl != DatumGetPointer (aclDatum ))
4006+ if (acl != DatumGetPointer (aclDatum ))
40074007pfree (acl );
40084008}
40094009
0 commit comments