Re: many columns with references to one table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: many columns with references to one table
Дата
Msg-id 11616.1061907468@sss.pgh.pa.us
обсуждение исходный текст
Ответ на many columns with references to one table  (Andreas Fromm <Andreas.Fromm@physik.uni-erlangen.de>)
Список pgsql-general
Andreas Fromm <Andreas.Fromm@physik.uni-erlangen.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Pedro Alves
Дата:
Сообщение: Re: Index usage
Следующее
От: Andreas Fromm
Дата:
Сообщение: deleting referenced data