Re: Thus spoke SQL3 (on OO) - Mailing list pgsql-hackers

From Chris Bitmead
Subject Re: Thus spoke SQL3 (on OO)
Date
Msg-id 39298E29.16B280CC@bitmead.com
Whole thread Raw
In response to Thus spoke SQL3 (on OO)  (Peter Eisentraut <peter_e@gmx.net>)
List 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.


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Thus spoke SQL3 (on OO)
Next
From: "Kardos, Dr. Andreas"
Date:
Subject: Re: OO / fe-be protocol