one to many

From: Dennis Gearon <gearond(at)fireserve(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: one to many
Date: 2004-05-16 16:27:58
Message-ID: 40A7968E.9000708@fireserve.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

CC me please.

How do I set up a one to many relationship in Postgres, (any DB for that
matter.)

I.E., if a delete or update of a child table causes a row in the parent
table to no longer refer to any rows in the child table, to either cause
Postgres to error out or delete the parent? I can see it does it for
when a parent is upudated or deleted.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ben 2004-05-16 16:50:13 Re: one to many
Previous Message Nikola Milutinovic 2004-05-16 13:07:51 PgSQL 7.4.2 - NaN on Tru64 UNIX