PostgresSQL: Get single attribute of UDT in SELECT statement
Use:

SELECT (ctyp).f1 FROM tbl;

The parentheses are necessary to disambiguate tables from composite types as detailed in the manual on composite types.