More ALTER TABLE/TYPE bugs - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject More ALTER TABLE/TYPE bugs
Date
Msg-id 411065A4.3030602@familyhealth.com.au
Whole thread Raw
Responses Re: More ALTER TABLE/TYPE bugs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Changing to a domain and back doesn't do dependencies correctly:

test=# create table parent (a int4);
CREATE TABLE
test=# drop table parent;
DROP TABLE
test=# drop domain dom;
DROP DOMAIN
test=# create table parent (a int4);
CREATE TABLE
test=# create domain dom as bigint;
CREATE DOMAIN
test=# alter table parent alter a type dom;
ALTER TABLE
test=# alter table parent alter a type int4;
ERROR:  found unexpected dependency for column

Chris



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Have you heard? It's 8.0 ...
Next
From: Tom Lane
Date:
Subject: Re: Preliminary PITR documentation available