Re: [BUGS] BUG #14706: Dependencies not recorded properly for base types

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #14706: Dependencies not recorded properly for base types
Дата
Msg-id 22824.1497487336@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [BUGS] BUG #14706: Dependencies not recorded properly for base types  (khuddleston@pivotal.io)
Ответы Re: [BUGS] BUG #14706: Dependencies not recorded properly for base types
Список 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 по дате отправления: