Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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 :)





pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group