postgresql 7.2 tutorial has a 'bug' - Mailing list pgsql-docs

From Josep Lladonosa i Capell
Subject postgresql 7.2 tutorial has a 'bug'
Date
Msg-id 3C6DC15D.B2FBB4E5@jep.dhis.org
Whole thread Raw
List pgsql-docs
...perhaps am I the first one who finds an error in the Chapter 3, (3.3
Foreign Keys) in the new tutorial?


The example says:

...........................................................
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
);
........................................................................

shouldn't it say 'references cities'? ;-)


Distribution-explanation in new tutorial seems more practical than the
others before. Congratulations!

--
Salutacions...Josep
http://www.geocities.com/SiliconValley/Horizon/1065/
--




pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: 'bug' in the postgresql tutorial
Next
From: mundo@ctcinternet.cl (Alejandro Rivadeneira)
Date:
Subject: PostgreSQL Spanish manuals , files & links