Re: Type inheritance - Mailing list pgsql-sql

From Gianvito Pio
Subject Re: Type inheritance
Date
Msg-id 5eca56860906050813s2b77639aoebe73dd18d103891@mail.gmail.com
Whole thread Raw
In response to Re: Type inheritance  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Domains just allow me to redefine base types, including some restrictions. I just want to define a my own type and then to define some new types that inherit from the first one. I hope it's clear now...

2009/6/5 Tom Lane <tgl@sss.pgh.pa.us>
Gianvito Pio <pio.gianvito@gmail.com> writes:
> I just want to ask you if it's possible to define sub types in PostgreSQL
> (Type inheritance). I found that table inheritance is possible...but I'd
> like to do it on types.

It's fairly unclear what your actual requirements are here, but perhaps
domains would do the job?

                       regards, tom lane

pgsql-sql by date:

Previous
From: chester c young
Date:
Subject: do unneeded outer joins cost?
Next
From: Tom Lane
Date:
Subject: Re: do unneeded outer joins cost?