khuddleston(at)pivotal(dot)io writes:
> CREATE FUNCTION base_fn_in(cstring) returns opaque as 'boolin' language
> internal;
> CREATE FUNCTION base_fn_out(opaque) returns opaque as 'boolout' language
> internal;
> CREATE TYPE base_type(input=base_fn_in, output=base_fn_out);
You realize of course that this is long-deprecated style.
> DROP TYPE base_type;
> \df
> ERROR: cache lookup failed for type 22241 (format_type.c:137)
... but yeah, as long as we're supporting it at all, that shouldn't
happen. Thanks for the report!
regards, tom lane