(unnamed)
text/html
<div>På tirsdag 05. februar 2013 kl. 11:04:27, skrev Thomas Kellerer <<a href="mailto:spam_eater@gmx.net" target="_blank">spam_eater@gmx.net</a>>:</div> <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div style="display:inline; font-family: monospace; font-size: 12px;">Andreas Joseph Krogh, 05.02.2013 10:57:<br> > The value of having NOT NULL deferrable is, well, to not check for<br> > NULL until the tx commits. When working with ORMs this often is the<br> > case, especially with circular FKs.<br> <br> With circular FKs it's enough to define the FK constraint as deferred.</div> </blockquote> <div> </div> <div>I meant; circular FKs which are also NOT NULL</div> <div> </div> <div class="origo-email-signature">--<br> Andreas Joseph Krogh <andreak@officenet.no> mob: +47 909 56 963<br> Senior Software Developer / CTO - OfficeNet AS - http://www.officenet.no<br> Public key: http://home.officenet.no/~andreak/public_key.asc</div> <div> </div>