petrum(at)gmail(dot)com writes:
> File: postgresql-9.4.4/src/backend/catalog/aclchk.c
> Function: pg_type_aclmask (line 4200)
> At lines 4236, I think elttype_oid should be used and not type_oid.
Yeah, you're right. Will fix, thanks for the report!
regards, tom lane