Re: many to one of many modeling question

From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: Erik Jones <erik(at)myemma(dot)com>
Cc: Postgres General List <pgsql-general(at)postgresql(dot)org>, Kevin Hunter <hunteke(at)earlham(dot)edu>, Caktus Team <team(at)caktusgroup(dot)com>
Subject: Re: many to one of many modeling question
Date: 2008-01-08 00:00:36
Message-ID: 662467.54686.qm@web31814.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

--- On Mon, 1/7/08, Erik Jones <erik(at)myemma(dot)com> wrote:

> From: Erik Jones <erik(at)myemma(dot)com>
> Subject: Re: [GENERAL] many to one of many modeling question
> To: "Richard Broersma Jr" <rabroersma(at)yahoo(dot)com>
> Cc: "Postgres General List" <pgsql-general(at)postgresql(dot)org>, "Kevin Hunter" <hunteke(at)earlham(dot)edu>, "Caktus Team" <team(at)caktusgroup(dot)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 was desired. I forgot to delete this bad syntax from my example.

Thanks for the correction!

Regards,
Richard Broersma Jr.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message mgainty 2008-01-08 00:12:43 Re: Announcing PostgreSQL RPM Buildfarm
Previous Message Darcy Buskermolen 2008-01-07 23:33:42 Re: Announcing PostgreSQL RPM Buildfarm