The char type pg_type has oid 1042 (bpchar) rather than the expected 18. There should be a separate mapping for both bpchar and char.
Also the format type for bpchar should be character, not bpchar.