From: gomer94@yandex.ru
To: pgsql-bugs@postgresql.org
Cc: gomer94@yandex.ru
Subject: BUG #14867: Cascade drop type error
Date: Mon, 23 Oct 2017 15:01:18 +0000
Message-ID: <20171023150118.1477.19174@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14867
Logged by: Mansur Galiev
Email address: gomer94@yandex.ru
PostgreSQL version: 10.0
Operating system: Ubuntu 16.04.3 LTS x64
Description:
CREATE TYPE my_type AS (f1 integer);
CREATE TYPE my_type_2 AS (f2 my_type);
CREATE TABLE my_table (c1 my_type_2);
CREATE VIEW my_view AS SELECT ((C1).f2).f1 FROM my_table;
DROP TYPE my_type CASCADE;
after then my_view still has a column and a type queries of this:
SELECT * FROM pg_views;
shows:
ERROR: could not open relation with OID 33070
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: gomer94@yandex.ru
Subject: Re: BUG #14867: Cascade drop type error
In-Reply-To: <20171023150118.1477.19174@wrigleys.postgresql.org>
* 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