PostgreSQL 7.2 Documentation - Mailing list pgsql-docs

From Mathias Zajaczkowski
Subject PostgreSQL 7.2 Documentation
Date
Msg-id 71BFB6708920D211967300805F85071C072A73@UBK_SRV1
Whole thread Raw
Responses Re: PostgreSQL 7.2 Documentation
List pgsql-docs

3.3. Foreign Keys

[..]
CREATE TABLE cities (name		varchar(80) primary key,location	point
);

CREATE TABLE weather (city		varchar(80) references weather,temp_lo		int,temp_hi		int,prcp		real,date		date
);
Table weather refernces table cities and not itself.
Best regards

Mathias Zajaczkowski,
UBIK S.A.
Av. Cortot 7d,
1260, Nyon, Switzerland
Tel : +41 22 362 04 60
Fax: +41 22 362 04 61
mailto:mathias@ubik.ch
http://www.ubik.ch

 

pgsql-docs by date:

Previous
From: "Vishnu"
Date:
Subject: syntax to access/retrieve data from multiple databases
Next
From: Janning Vygen
Date:
Subject: VERY SMALL DOC BUG: http://www.postgresql.org/idocs/index.php?sql-createtable.html