types and subtypes

From: Ingrith Andrea Correa Vargas <i-correa(at)uniandes(dot)edu(dot)co>
To: pgsql-sql(at)postgreSQL(dot)org
Subject: types and subtypes
Date: 1999-03-24 21:59:23
Message-ID: Pine.GSO.3.96.990324164342.19126B-100000@isis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


hello all!

I want to simulate objects with Postgres and I would like to know if it's
possible to create a type (like address: t_address) and then to create
another type (like customer) with an attribute of type t_address.

And I have a second question:
Can I make a "reference" to an object of an existing type?!

These are features provided by the SQL3 standar, I want to know if it's
possible to implement it with Postgres.

Can somebody help to me?!

Thank you in advance,

//Ingrith Correa :)

Browse pgsql-sql by date

  From Date Subject
Next Message Jackson, DeJuan 1999-03-24 21:59:52 RE: [SQL] Use of 'default TEXT now()'
Previous Message Ing. Roberto Andrade 1999-03-24 21:31:37 RE: [SQL] Use of 'default TEXT now()'