Error in documentation - Mailing list pgsql-docs

From amoroder@sb-brixen.it (andreas moroder)
Subject Error in documentation
Date
Msg-id ca1d8f82.0203011220.3c68261e@posting.google.com
Whole thread Raw
Responses Re: Error in documentation  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-docs
Hello,

in the tutorial ( HTML and PDF ) I found the folowing example

The new declaration of the tables would look like this:
CREATE TABLE cities (
name varchar(80) primary key,
location point
);

Chapter 3. Advanced Features

CREATE TABLE weather (
city varchar(80) references weather,
temp_lo int,
temp_hi int,
prcp real,
date date
);

Is this ok should the reference not be "references cities" ?

Bye
Andreas

pgsql-docs by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: PostgreSQL 7.2 docs
Next
From: Bruce Momjian
Date:
Subject: PostgreSQL TO-DO List (fwd)