nested table - Mailing list pgsql-general

From Peeter Smitt
Subject nested table
Date
Msg-id 00ca01c0587d$e63197e0$b6646ac2@miniraket
Whole thread Raw
Responses Re: nested table
List pgsql-general
Hi
 
I'm sure it has been already discused milion times but i can't find it from list archives.
 
Whats the syntax for inserting and quering tables with nested tables.
 
For example:
 
CREATE TABLE foo (attr1 int2, attr2 int2);
 
CREATE TABLE foo1 (id int4, name text, attr1 foo);
 
Now, how can i insert values into foo1?
 
Thanks
 
Peeter 
 

pgsql-general by date:

Previous
From: "Diehl, Jeffrey"
Date:
Subject: Help with query. (*)
Next
From: "Michelle Anderson"
Date:
Subject: referential integrity