Re: one to many

Поиск
Список
Период
Сортировка
От Dennis Gearon
Тема Re: one to many
Дата
Msg-id 40A7A23D.3080008@fireserve.net
обсуждение исходный текст
Ответ на Re: one to many  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
Peter Eisentraut wrote:

>Dennis Gearon wrote:
>
>
>>How do I set up a one to many relationship in Postgres, (any DB for
>>that matter.)
>>
>>
>
>Read about foreign keys:
>
>http://www.postgresql.org/docs/7.4/static/ddl-constraints.html#DDL-CONSTRAINTS-FK
>
>
>
That only takes care of if the PARENT is deleted/updated, if I read it
right. I'm trying to take care of the case where the CHILD is deleted or
updated, i.e. preserving 1-Many part of a rlationship.

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

Предыдущее
От: Timothy Perrigo
Дата:
Сообщение: Re: Confusion about inheritance -- NEVER MIND
Следующее
От: "Scot L. Harris"
Дата:
Сообщение: table column information