fix compilation on arm
@@ -329,7 +329,7 @@ impl<'a, AllocatedBy: WhoAllocated> IntoDatum for PgHeapTuple<'a, AllocatedBy> {
fn is_composite(oid: pg_sys::Oid) -> bool {
unsafe {
let entry = pg_sys::lookup_type_cache(oid, pg_sys::TYPECACHE_TUPDESC as _);
- (*entry).typtype == pg_sys::RELKIND_COMPOSITE_TYPE as i8
+ (*entry).typtype as i8 == pg_sys::RELKIND_COMPOSITE_TYPE as i8
}
}
Self::type_oid() == other || is_composite(other)
