PostgreSQL Bugs List wrote:
> this constraint doesn't work correctly : 'FOREIGN KEY (id_1, id_2)
> REFERENCES table_1 ON DELETE CASCADE'
> adding records into table_2 the database sometimes said that there is
> no corresponding record in table_1, but there is.
Please provide a concrete, reproducible example.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/