> ... and there doesn't appear (for > non-match partial constraints) seem to be a special case for the > referenced row coming back into existance as far as I can tell either. > Or, if you're willing to patch, I think a first order approximation of > what you want might be to remove the special cases in trigger.c > (afterTriggerSetState) and tablecmds.c (createForeignKeyTriggers), but I > haven't tested that. Thank you. So I must create and maintain special version of PostgreSQL ? Andrus.