Type inheritance - Mailing list pgsql-sql

From Gianvito Pio
Subject Type inheritance
Date
Msg-id 5eca56860906050330w6171b327k95881b13c4dca466@mail.gmail.com
Whole thread Raw
Responses Re: Type inheritance  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Type inheritance  (Rob Sargent <robjsargent@gmail.com>)
List pgsql-sql
Hi all,<br /> I just want to ask you if it's possible to define sub types in PostgreSQL (Type inheritance). I found
thattable inheritance is possible...but I'd like to do it on types.<br /><br /> Example:<br /> define a type Value and
twosubtypes Temperature and Humidity and then define a table that has an attribute of Value type (that can accept both
specializedtypes).<br /><br /> Thanks  

pgsql-sql by date:

Previous
From: Rob Sargent
Date:
Subject: page-base stats per query?
Next
From: Tom Lane
Date:
Subject: Re: Type inheritance