Michael Fuhr <mike(at)fuhr(dot)org> writes:
> ... I started to work on a patch but I wasn't sure how
> to handle the chicken-and-egg situation of dropping a type and its
> I/O functions. Is there any way to do that other than DROP TYPE
> CASCADE? Should the uninstall scripts be doing that?
DROP TYPE CASCADE is probably reasonable; that's the way pg_dump
handles the problem, anyway.
regards, tom lane