Hello.
Is it possible to create new structured datatypes in PostgreSQL like in this
IBM UDB2 statement:
create type person_t as (
name varchar(30),
car car_t)
create type car_t as (
model varchar(30),
plate carchar(20))
create table car of car_t
create table person of person_t
where the table person contains a reference to the car-type in table car?
In the reference manuel I only found the create-table-statement, which
automatically creates a new data-typ corresponding to the table. But is it
possible to implement the above model including the reference by making only
create-table-statements?
Thanks for a quick answer.
Philip Reimer