Re: [BUGS] BUG #14706: Dependencies not recorded properly for base types - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14706: Dependencies not recorded properly for base types
Date
Msg-id 22824.1497487336@sss.pgh.pa.us
Whole thread Raw
In response to [BUGS] BUG #14706: Dependencies not recorded properly for base types  (khuddleston@pivotal.io)
Responses Re: [BUGS] BUG #14706: Dependencies not recorded properly for base types  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
khuddleston@pivotal.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: khuddleston@pivotal.io
Date:
Subject: [BUGS] BUG #14706: Dependencies not recorded properly for base types
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14706: Dependencies not recorded properly for base types