Re: one to many

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Dennis Gearon <gearond(at)fireserve(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: one to many
Date: 2004-05-16 17:04:10
Message-ID: 200405161904.10238.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

  • one to many at 2004-05-16 16:27:58 from Dennis Gearon

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2004-05-16 17:17:49 Re: one to many
Previous Message Ben 2004-05-16 16:50:13 Re: one to many