Skip site navigation (1) Skip section navigation (2)

postgresql 7.2 tutorial has a 'bug'

From: Josep Lladonosa i Capell <jep(at)jep(dot)dhis(dot)org>
To: pgsql-docs(at)postgresql(dot)org
Subject: postgresql 7.2 tutorial has a 'bug'
Date: 2002-02-16 02:18:05
Message-ID: 3C6DC15D.B2FBB4E5@jep.dhis.org (view raw or flat)
Thread:
Lists: 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

Next:From: Alejandro RivadeneiraDate: 2002-02-16 16:36:53
Subject: PostgreSQL Spanish manuals , files & links
Previous:From: Peter EisentrautDate: 2002-02-14 19:08:25
Subject: Re: Translation of the documentation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group