AW: SQL3 UNDER - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: SQL3 UNDER
Date
Msg-id 219F68D65015D011A8E000006F8590C604AF7DA0@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
List pgsql-hackers
> For multiple
> inheritance, why not just suggest the use of INHERITS, which is
> already a Postgres language extension for multiple 
> inheritance.  UNDER covers
> the tree/hierarchy situation, so make it only to SQL3 standards. 
> INHERIT fits the clone/copy/inherits situation that, like I've
> said before, is like starting a new tree.

Imho the difference is so marginal, that I would not like to see two 
different implementations. Informix e.g. took what Illustra had 
for inherits and only changed the keyword to under, which is imho 
what we should do.

When calling functions with a class argument they do pass all attributes
of subclasses to it. They use late function binding, so you can define
different functions for different subclasses having the same name.
They only show parent columns when doing 'select * from class' that has 
subclasses.

Andreas


pgsql-hackers by date:

Previous
From: Louis-David Mitterrand
Date:
Subject: Re: understanding Datum -> char * -> Datum conversions
Next
From: Louis-David Mitterrand
Date:
Subject: Re: understanding Datum -> char * -> Datum conversions