Andreas Fromm <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html