Constructors in clases

From: "cima" <ruel(dot)cima(at)facinf(dot)uho(dot)edu(dot)cu>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Constructors in clases
Date: 2005-03-08 05:41:17
Message-ID: 000c01c523a1$79208b90$f00110ac@doctorado1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

is the following possible in postgresql 7.4?

create table t1 (name varchar(10), age int2);

create table t2 (position varchar(20), worker t1);

if it is then how do i insert a record in t2? in the documentation i´ve read about object relational dbs there is some constructor involved but i´m not sure how to work with it.

any help with this will be highly apreciated!

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message John DeSoi 2005-03-08 06:53:06 Re: Getting started - Interfacing questions
Previous Message NetSuporte 2005-03-08 01:59:07 QT3 Designer Pgadmin III and PgAccess Cannot connect to PostgreSQL 7.4 database