pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: khuddleston@pivotal.io
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14706: Dependencies not recorded properly for base types
Date: Wed, 14 Jun 2017 20:42:16 -0400
Message-ID: <22824.1497487336@sss.pgh.pa.us> (raw)
In-Reply-To: <20170614232259.1424.82774@wrigleys.postgresql.org>
References: <20170614232259.1424.82774@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (15+ messages)  latest in thread

Message-ID: <22824.1497487336@sss.pgh.pa.us>
Permalink:  ../22824.1497487336@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22824.1497487336@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, khuddleston@pivotal.io
  Subject: Re: BUG #14706: Dependencies not recorded properly for base types
  In-Reply-To: <22824.1497487336@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox