Ruslan A Dautkhanov <rusland(at)scn(dot)ru> writes:
> I had found today that when I tries to add column to a table with
> simultaneous creating foreign key for this column, no constraints
> really created with no any errors messages, but a column really
> added.
Yeah, this is a known bug in 7.3.*: ALTER TABLE ADD COLUMN fails to
process REFERENCES clauses. There is a fix in place for 7.3.3.
regards, tom lane