Error in documentation

From: amoroder(at)sb-brixen(dot)it (andreas moroder)
To: pgsql-docs(at)postgresql(dot)org
Subject: Error in documentation
Date: 2002-03-01 20:20:40
Message-ID: ca1d8f82.0203011220.3c68261e@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Rich Morin 2002-03-01 21:48:19 web page issues
Previous Message Bruce Momjian 2002-03-01 19:40:47 Re: PostgreSQL 7.2 docs