Is anyone else seeing this with current CVS, or is it my own breakage? *** ./expected/alter_table.out Wed May 30 12:38:38 2001 --- ./results/alter_table.out Tue Jun 19 00:45:22 2001 *************** *** 340,347 **** ALTER TABLE FKTABLE ADD FOREIGN KEY(ftest1) references pktable(ptest1); NOTICE: ALTER TABLE ... ADD CONSTRAINT will create implicit trigger(s) for FOREIGN KEY check(s) DROP TABLE pktable; ! NOTICE: DROP TABLE implicitly drops referential integrity trigger from table "fktable" ! NOTICE: DROP TABLE implicitly drops referential integrity trigger from table "fktable" DROP TABLE fktable; CREATE TEMP TABLE PKTABLE (ptest1 int, ptest2 text, PRIMARY KEY(ptest1, ptest2)); --- 340,347 ---- ALTER TABLE FKTABLE ADD FOREIGN KEY(ftest1) references pktable(ptest1); NOTICE: ALTER TABLE ... ADD CONSTRAINT will create implicit trigger(s) for FOREIGN KEY check(s) DROP TABLE pktable; ! NOTICE: DROP TABLE implicitly drops referential integrity trigger from table "pg_temp_15818_3" ! NOTICE: DROP TABLE implicitly drops referential integrity trigger from table "pg_temp_15818_3" DROP TABLE fktable; CREATE TEMP TABLE PKTABLE (ptest1 int, ptest2 text, PRIMARY KEY(ptest1, ptest2)); ====================================================================== regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html