Re: many columns with references to one table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Fromm <Andreas(dot)Fromm(at)physik(dot)uni-erlangen(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: many columns with references to one table
Date: 2003-08-26 14:17:48
Message-ID: 11616.1061907468@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andreas Fromm <Andreas(dot)Fromm(at)physik(dot)uni-erlangen(dot)de> writes:
> My problem is that the references to the phones table do not get
> restricted, i.e. I can insert any value in the phone*-fields, while the
> references to the other tables are restricted to values that allready
> exists.

Hard to believe --- and I couldn't reproduce it here. What PG version
are you using? Can you show us a complete example?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pedro Alves 2003-08-26 14:20:14 Re: Index usage
Previous Message Raymond 2003-08-26 14:10:57 Excel 97 Export to Postgres