Re: BUG #14706: Dependencies not recorded properly for base types
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: khuddleston@pivotal.io
Cc: pgsql-bugs@postgresql.org
Date: 2017-06-15T00:42:16Z
Lists: 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
Commits
-
Fix dependency, when changing a function's argument/return type.
- ac93a78b0e51 9.2.22 landed
- 6338b50b9335 9.4.13 landed
- b47e2f7a9463 9.3.18 landed
- 501e6f8b7875 9.5.8 landed
- a9a5eb32b384 9.6.4 landed
- 30681c830d69 10.0 landed