Re: Type inheritance

From: Gianvito Pio <pio(dot)gianvito(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Type inheritance
Date: 2009-06-05 15:13:10
Message-ID: 5eca56860906050813s2b77639aoebe73dd18d103891@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us>

> Gianvito Pio <pio(dot)gianvito(at)gmail(dot)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
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2009-06-05 15:25:37 Re: do unneeded outer joins cost?
Previous Message chester c young 2009-06-05 15:01:51 do unneeded outer joins cost?