The following bug has been logged online: Bug reference: 4688 Logged by: Oleg Email address: sero...@gmail.com PostgreSQL version: last stable Operating system: CentOS Description: Bug in cache. Details:
Demo sql: ROLLBACK; BEGIN; CREATE TABLE bug_composite_type ( text character varying(50) ); CREATE TABLE bug_list ( test bug_composite_type ); INSERT INTO bug_list VALUES (ROW('text')); ALTER TABLE bug_composite_type RENAME TO tmp_table; CREATE TABLE bug_composite_type ( text character varying(250) ); CREATE CAST (tmp_table AS composite_ad_texts) WITHOUT FUNCTION AS ASSIGNMENT; ALTER TABLE bug_list ALTER test TYPE composite_ad_texts; DROP CAST (tmp_table AS composite_ad_texts); DROP TABLE tmp_table; SELECT * FROM bug_list; -- bug -- ERROR: could not open relation with OID 395705050 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs