On 11/18/2015 09:55, R Smith wrote: > There is no "first" constraint that can fail. There is a procession of > constraints either within a statement or within a transaction (both > can have many constraints) and as they are required, they are counted > up, and as they become resolved they are counted down. At the end the > result is simply either that "some constraint failed" or "All resolved > eventually".
Why not have two variants of the error message: one for immediate failure with the foreign key name, and one like now, for the complicated case of delayed constraints? Yuri