pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ingrith Andrea Correa Vargas <i-correa@uniandes.edu.co>
To: pgsql-sql@postgreSQL.org
Subject: types and subtypes
Date: Wed, 24 Mar 1999 16:59:23 -0500 (GMT+5)
Message-ID: <Pine.GSO.3.96.990324164342.19126B-100000@isis> (raw)


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 :)







view thread (2+ messages)  latest in thread

Message-ID: <Pine.GSO.3.96.990324164342.19126B-100000@isis>
Permalink:  ../Pine.GSO.3.96.990324164342.19126B-100000@isis/
Also on:    postgresql.org/message-id/Pine.GSO.3.96.990324164342.19126B-100000@isis

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: i-correa@uniandes.edu.co
  Subject: Re: types and subtypes
  In-Reply-To: <Pine.GSO.3.96.990324164342.19126B-100000@isis>
  References: <Pine.GSO.3.96.990324164342.19126B-100000@isis>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox