Re: Multi-column constraint behaviour - Mailing list pgsql-general

From Tom Lane
Subject Re: Multi-column constraint behaviour
Date
Msg-id 24440.1168980718@sss.pgh.pa.us
Whole thread Raw
In response to Multi-column constraint behaviour  (Bertram Scharpf <lists@bertram-scharpf.de>)
Responses Re: Multi-column constraint behaviour  (Bertram Scharpf <lists@bertram-scharpf.de>)
List pgsql-general
Bertram Scharpf <lists@bertram-scharpf.de> writes:
> Is there a deeper reason why the foreign key allows not
> referenced non-null values

The SQL spec says so.  Use MATCH FULL to get the behavior you want.

            regards, tom lane

pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Coercion in PGSQL?
Next
From: "Harpreet Dhaliwal"
Date:
Subject: Re: Dynamic loading of Perl Code in Postgres functions