I didn't see it documented anywhere that a 0 in attypid of pg_attribute,and given the note on the need to match pg_type lest failure seems towarrant the mention.
Robert Treat-- Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL