Re: types inheritance

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Luiz Renuncio <renuncio(at)ipf(dot)uni-karlsruhe(dot)de>
Cc: PostgreSQL-general <pgsql-general(at)postgreSQL(dot)org>
Subject: Re: types inheritance
Date: 1999-08-04 18:27:54
Message-ID: 199908041827.OAA01034@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Dear Bruce,
>
> many thanks for your answer.
>
> Yes, I wanted to know if it is / will be also possible to have types inherited
> from other primitive types. This is, for instance, what happens in Oracle and
> SpatialWare. In these databases I am able to write different types of
> geometric primitives in the same column of a table.
>
> A type point or circle or line inherits from some geometric superclass (say
> GEO). The consequence is that if one wants to store points, circles,... in the
> same atribute he just need to declare this atribute as beeing of type GEO.
>
> This would probably make my life easier. I looked for inheritance in
> postgresql, but I only found it for tables.
>
> Do you understand that?

Yes. I am CC'ing this to general to see if anyone has comments.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Browse pgsql-general by date

  From Date Subject
Next Message Héctor Morales 1999-08-04 18:34:36 Problem with pgaccess
Previous Message Michael Simms 1999-08-04 18:15:15 Re: [GENERAL] ElephantWear Now Available...