Re: Supertypes? - Mailing list pgsql-general

From Jason Earl
Subject Re: Supertypes?
Date
Msg-id 20010327210136.96727.qmail@web10003.mail.yahoo.com
Whole thread Raw
In response to Supertypes?  ("Christian Marschalek" <cm@chello.at>)
List pgsql-general
I believe that what you are looking for is
inheritance.

http://postgresql.readysetnet.com/devel-corner/docs/user/inherit.html

I hope this is helpful,
Jason Earl

--- Christian Marschalek <cm@chello.at> wrote:
> In school we've learned about supertypes. I don't
> know if the raw
> translation is correct so here is an example:
> Supertype human with the attributes name,age,size.
> Now I can derrive types from it... For example ->
> employe with even more
> attributes like personal id.
>
> Can I realise this in PostgreSQL? And if yes, would
> anybody please
> explain how, or point me to the right documentation?
>
> Thanks and regards, Christian Marschalek
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text

pgsql-general by date:

Previous
From: Zachary Beane
Date:
Subject: Re: how to load a sql-file????
Next
From: Alex Howansky
Date:
Subject: Re: Logging Queries