Re: DEFERRABLE NOT NULL constraint

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: DEFERRABLE NOT NULL constraint
Date: 2013-02-05 10:04:27
Message-ID: keqldm$v8q$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andreas Joseph Krogh, 05.02.2013 10:57:
> 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.

With circular FKs it's enough to define the FK constraint as deferred.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Виктор Егоров 2013-02-05 10:11:10 Re: DEFERRABLE NOT NULL constraint
Previous Message Andreas Joseph Krogh 2013-02-05 09:57:34 Re: DEFERRABLE NOT NULL constraint