Re: many to one of many modeling question - Mailing list pgsql-general

From Richard Broersma Jr
Subject Re: many to one of many modeling question
Date
Msg-id 662467.54686.qm@web31814.mail.mud.yahoo.com
Whole thread Raw
In response to Re: many to one of many modeling question  (Erik Jones <erik@myemma.com>)
Responses Re: many to one of many modeling question
List pgsql-general
--- On Mon, 1/7/08, Erik Jones <erik@myemma.com> wrote:

> From: Erik Jones <erik@myemma.com>
> Subject: Re: [GENERAL] many to one of many modeling question
> To: "Richard Broersma Jr" <rabroersma@yahoo.com>
> Cc: "Postgres General List" <pgsql-general@postgresql.org>, "Kevin Hunter" <hunteke@earlham.edu>, "Caktus Team"
<team@caktusgroup.com>
> Date: Monday, January 7, 2008, 3:06 PM
> On Jan 7, 2008, at 2:22 PM, Richard Broersma Jr wrote:
>
> > CREATE TABLE comments (
> >     id SERIAL,
> >     obj_id INTEGER ...
> >     FOREIGN KEY (obj_id)
> >     REFERENCES ONE OF o(id);
>
> Where are you guys getting this REFERENCES ONE OF stuff?

Oops, my mistake.  The OP was using this fake syntax "REFERENCES ONE OF" simply to illustrate the functionality that
wasdesired.  I forgot to delete this bad syntax from my example. 

Thanks for the correction!

Regards,
Richard Broersma Jr.

pgsql-general by date:

Previous
From: Darcy Buskermolen
Date:
Subject: Re: Announcing PostgreSQL RPM Buildfarm
Next
From: mgainty@hotmail.com
Date:
Subject: Re: Announcing PostgreSQL RPM Buildfarm