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

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 (view raw or flat)
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

pgsql-docs by date

Next:From: Rich MorinDate: 2002-03-01 21:48:19
Subject: web page issues
Previous:From: Bruce MomjianDate: 2002-03-01 19:40:47
Subject: Re: PostgreSQL 7.2 docs

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