Re: [GENERAL] referential integrity without trigger

2006-02-09 Thread Tom Lane
Alexander Presber <[EMAIL PROTECTED]> writes: > Is there a clever, general scheme to "recheck" and enforce foreign > key contraints, after the responsible triggers have been disabled and > reenabled? Drop the constraint (keep your fingers off the trigger, thank you ;-)). Modify the master tab

Re: [GENERAL] referential integrity without trigger

2006-02-09 Thread Stephan Szabo
On Thu, 9 Feb 2006, Alexander Presber wrote: > Hello everybody, > > Assuming I want to empty and refill table A (with roughly the same > content, preferrably in one transaction) and don't want to completely > empty a dependent table B but still keep referential integrity after > the commit. > > W

Re: [GENERAL] referential integrity without trigger

2006-02-09 Thread Harald Fuchs
In article <[EMAIL PROTECTED]>, Alexander Presber <[EMAIL PROTECTED]> writes: > Hello everybody, > Assuming I want to empty and refill table A (with roughly the same > content, preferrably in one transaction) and don't want to completely > empty a dependent table B but still keep referential integ

[GENERAL] referential integrity without trigger

2006-02-09 Thread Alexander Presber
Hello everybody, Assuming I want to empty and refill table A (with roughly the same content, preferrably in one transaction) and don't want to completely empty a dependent table B but still keep referential integrity after the commit. Without disabling A's on-delete-trigger B will be be e