Re: DEFERRABLE NOT NULL constraint

From: Bèrto ëd Sèra <berto(dot)d(dot)sera(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: DEFERRABLE NOT NULL constraint
Date: 2013-02-05 13:12:31
Message-ID: CAKwGa_92b7oCFYoRuUm=njixmXYJEhaPyvf_BUKWCf9EuBDd5Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

> The value of having NOT NULL deferrable is, well, to not check for NULL
> until the tx commits. When working with ORMs this often is the case,
> especially with circular FKs.

+1000 here.

Cheers
Bèrto

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Angelico 2013-02-05 13:13:20 Re: DEFERRABLE NOT NULL constraint
Previous Message Andreas Joseph Krogh 2013-02-05 12:52:39 Re: DEFERRABLE NOT NULL constraint