This is not releated to self referencing, this is for all FK.
Change table CONSTRAINT definition. If you have restrict rule on it, what do you expect?
Change it to On Delete Cascade and problem gone.
Regards,
Karol Bieniaszewski
--
You received this message because you are subscribed to the Google Groups "firebird-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebird-devel/9450bbcd-1b40-42c3-b489-79769516f9den%40googlegroups.com.
Change table CONSTRAINT definition. If you have restrict rule on it, what do you expect?
Firebird does not support deffered CONSTRAINT.
Personally i hate deffered CONSTRAINT, as for me it is a disaster.
You can delete parent and leave childs. All code still see all childs, can sum on, count etc.
If Firebird will support it, i pray to have this as an option, and stiil be able to use current behawior.
Regards,
Karol Bieniaszewski
--
You received this message because you are subscribed to the Google Groups "firebird-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebird-devel/95d0a75c-7c74-4176-ac95-685ff16bcf40n%40googlegroups.com.
Yes, exactly, it is checked not on execute time only later on commit time, for me it is disaster, but this is only my humble opinion.
Regards,
Karol Bieniaszewski
--
You received this message because you are subscribed to the Google Groups "firebird-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebird-devel/b188d94e-eacd-6976-af0c-20b682c97ae0%40lawinegevaar.nl.