If u r disabling the trigger, then Y is a row being tried to be inserted? Better disable the constraints if u want it this way