Re: DEFERRABLE NOT NULL constraint - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: DEFERRABLE NOT NULL constraint
Date
Msg-id keqldm$v8q$1@ger.gmane.org
Whole thread Raw
In response to Re: DEFERRABLE NOT NULL constraint  (Andreas Joseph Krogh <andreak@officenet.no>)
Responses Re: DEFERRABLE NOT NULL constraint  (Andreas Joseph Krogh <andreak@officenet.no>)
List 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.

pgsql-general by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Re: DEFERRABLE NOT NULL constraint
Next
From: Виктор Егоров
Date:
Subject: Re: DEFERRABLE NOT NULL constraint