Re: DEFERRABLE NOT NULL constraint

From: Andreas Joseph Krogh <andreak(at)officenet(dot)no>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: DEFERRABLE NOT NULL constraint
Date: 2013-02-05 12:52:39
Message-ID: OrigoEmail.181.787f48a5cd0cc6be.13caa66e216@prod2.officenet.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<div>På tirsdag 05. februar 2013 kl. 13:32:15, skrev Alban Hertroys &lt;<a href="mailto:haramrae(at)gmail(dot)com" target="_blank">haramrae(at)gmail(dot)com</a>&gt;:</div>

<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 5 February 2013 12:41, Andreas Joseph Krogh <span dir="ltr">&lt;<a href="mailto:andreak(at)officenet(dot)no" target="_blank">andreak(at)officenet(dot)no</a>&gt;</span> wrote:

<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5">
<div>There are lots of things you can do, but when it's the ORM which does it you have limited control, and that's the way it should to be (me as application-developer having to worry less about such details).</div>
</div>
</div>
</blockquote>

<div> </div>

<div>In that case it's your ORM that needs fixing, not the database.</div>
</div>
</blockquote>

<div> </div>

<div>&quot;Fix your tool&quot; is not helping here... Having deferrable NOT NULLs in the RDBMS will help making peoples lives easier and (some) other RDBMS have this.</div>

<div> </div>

<div>My question was if having deferrable NOT NULLs was on PGs road-map, not whether or not someone finds it usefull or is able to work around it.</div>

<div> </div>

<div class="origo-email-signature">--<br>
Andreas Joseph Krogh &lt;andreak(at)officenet(dot)no&gt;      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>

Attachment Content-Type Size
unknown_filename text/html 1.6 KB

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bèrto ëd Sèra 2013-02-05 13:12:31 Re: DEFERRABLE NOT NULL constraint
Previous Message Alban Hertroys 2013-02-05 12:32:15 Re: DEFERRABLE NOT NULL constraint