Re: one to many - Mailing list pgsql-general

From Dennis Gearon
Subject Re: one to many
Date
Msg-id 40A7A23D.3080008@fireserve.net
Whole thread Raw
In response to Re: one to many  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Timothy Perrigo
Date:
Subject: Re: Confusion about inheritance -- NEVER MIND
Next
From: "Scot L. Harris"
Date:
Subject: table column information