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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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/
--

Browse pgsql-docs by date

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