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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: khuddleston(at)pivotal(dot)io
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14706: Dependencies not recorded properly for base types
Date: 2017-06-15 00:42:16
Message-ID: 22824.1497487336@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-06-15 01:02:28 Re: BUG #14706: Dependencies not recorded properly for base types
Previous Message khuddleston 2017-06-14 23:22:59 BUG #14706: Dependencies not recorded properly for base types