BUG #14867: Cascade drop type error
gomer94@yandex.ru
From: gomer94@yandex.ru
To: pgsql-bugs@postgresql.org
Cc: gomer94@yandex.ru
Date: 2017-10-23T15:01:18Z
Lists: pgsql-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
Commits
-
Fix some oversights in expression dependency recording.
- dde99de1169e 9.3.20 landed
- 900a9fd64a0c 9.2.24 landed
- f3ea3e3e820b 11.0 landed
- df4aa6e4e874 10.1 landed
- d8a3be52f44d 9.4.15 landed
- aa0518301fd8 9.5.10 landed
- 285b850d518d 9.6.6 landed