Gaetano Mendola <mendola(at)bigfoot(dot)com> writes:
> kalman=# create table test ( a integer, b integer );
> CREATE TABLE
> kalman=# create table test1 ( c integer , d test );
> CREATE TABLE
> kalman=# alter table test drop column b;
> ALTER TABLE <--- Here I think the server shall complain about
Yeah, the design intention is that the ALTER should refuse to do it.
Looks like I missed a case. Will fix, thanks for the report.
regards, tom lane