Re: Thus spoke SQL3 (on OO)

From: Chris Bitmead <chris(at)bitmead(dot)com>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: Chris Bitmead <chrisb(at)nimrod(dot)itg(dot)telstra(dot)com(dot)au>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Thus spoke SQL3 (on OO)
Date: 2000-05-22 19:44:41
Message-ID: 39298E29.16B280CC@bitmead.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hannu Krosing wrote:
>
> Chris Bitmead wrote:
> >
> > Hannu Krosing wrote:
> >
> > > Chris, what is your position on having a single primary key for all
> > > inherited columns ?
> >
> > What is the significance of a primary key compared to any old unique
> > key?
>
> I don't know ;) Some theorists seem to think it important, and PG allows
> only one PK per table.
>
> I just meant that primary key (as well as any other uniqe key) should be
> inherited from parent table

What object theory would say is that oid uniquely identifies an object.
Other unique keys should usually be inherited.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 2000-05-22 20:04:19 Re: Thus spoke SQL3 (on OO)
Previous Message Chris Bitmead 2000-05-22 19:18:54 Re: [HACKERS] Postgresql OO Patch