Re: Multi-column constraint behaviour

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bertram Scharpf <lists(at)bertram-scharpf(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Multi-column constraint behaviour
Date: 2007-01-16 20:51:58
Message-ID: 24440.1168980718@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bertram Scharpf <lists(at)bertram-scharpf(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Harpreet Dhaliwal 2007-01-16 20:55:22 Re: Dynamic loading of Perl Code in Postgres functions
Previous Message Alvaro Herrera 2007-01-16 20:31:32 Re: Multi-column constraint behaviour